Removes the object UUID check (not vaild for this command)

This commit is contained in:
Madpeter 2020-04-26 01:43:10 +01:00
parent f2bb06889a
commit 33acda930a

View file

@ -40,8 +40,6 @@ namespace BSB.Commands.CMD_Parcel
public override bool CallFunction(string[] args) public override bool CallFunction(string[] args)
{ {
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); int localid = bot.GetClient.Parcels.GetParcelLocalID(bot.GetClient.Network.CurrentSim, bot.GetClient.Self.SimPosition);
if (bot.CreateAwaitEventReply("parcelobjectowners", this, args) == true) if (bot.CreateAwaitEventReply("parcelobjectowners", this, args) == true)
@ -54,11 +52,6 @@ namespace BSB.Commands.CMD_Parcel
return Failed("Unable to await reply"); return Failed("Unable to await reply");
} }
} }
else
{
return Failed("Invaild object UUID");
}
}
return false; return false;
} }
} }