forgot to ready parcel data

This commit is contained in:
Madpeter 2025-04-13 22:15:14 +01:00
parent bbb7405dcd
commit e65184e5fe

View file

@ -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");
}