forgot to ready parcel data
This commit is contained in:
parent
bbb7405dcd
commit
e65184e5fe
1 changed files with 5 additions and 0 deletions
|
|
@ -702,6 +702,11 @@ namespace SecondBotEvents.Commands
|
|||
[ReturnHintsFailure("Parcel data not ready")]
|
||||
public object ParcelReturnAll()
|
||||
{
|
||||
KeyValuePair<bool, string> tests = SetupCurrentParcel();
|
||||
if (tests.Key == false)
|
||||
{
|
||||
return Failure(tests.Value);
|
||||
}
|
||||
GetClient().Parcels.ReturnObjects(GetClient().Network.CurrentSim, targetparcel.LocalID, ObjectReturnType.None, null);
|
||||
return BasicReply("ok");
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue