Removes the object UUID check (not vaild for this command)
This commit is contained in:
parent
f2bb06889a
commit
33acda930a
1 changed files with 5 additions and 12 deletions
|
|
@ -41,22 +41,15 @@ namespace BSB.Commands.CMD_Parcel
|
||||||
{
|
{
|
||||||
if (base.CallFunction(args) == true)
|
if (base.CallFunction(args) == true)
|
||||||
{
|
{
|
||||||
if (UUID.TryParse(args[0], out UUID objectUUID) == true)
|
int localid = bot.GetClient.Parcels.GetParcelLocalID(bot.GetClient.Network.CurrentSim, bot.GetClient.Self.SimPosition);
|
||||||
|
if (bot.CreateAwaitEventReply("parcelobjectowners", this, args) == true)
|
||||||
{
|
{
|
||||||
int localid = bot.GetClient.Parcels.GetParcelLocalID(bot.GetClient.Network.CurrentSim, bot.GetClient.Self.SimPosition);
|
bot.GetClient.Parcels.RequestObjectOwners(bot.GetClient.Network.CurrentSim, localid);
|
||||||
if (bot.CreateAwaitEventReply("parcelobjectowners", this, args) == true)
|
return true;
|
||||||
{
|
|
||||||
bot.GetClient.Parcels.RequestObjectOwners(bot.GetClient.Network.CurrentSim, localid);
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
return Failed("Unable to await reply");
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
return Failed("Invaild object UUID");
|
return Failed("Unable to await reply");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue