From e65184e5fea09ca34b0cd3edddf84b5f5a08b913 Mon Sep 17 00:00:00 2001 From: Madpeter <57852827+Madpeterz@users.noreply.github.com> Date: Sun, 13 Apr 2025 22:15:14 +0100 Subject: [PATCH] forgot to ready parcel data --- SecondBotEvents/Commands/ParcelCommands.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/SecondBotEvents/Commands/ParcelCommands.cs b/SecondBotEvents/Commands/ParcelCommands.cs index e8be946..c3386cd 100644 --- a/SecondBotEvents/Commands/ParcelCommands.cs +++ b/SecondBotEvents/Commands/ParcelCommands.cs @@ -702,6 +702,11 @@ namespace SecondBotEvents.Commands [ReturnHintsFailure("Parcel data not ready")] public object ParcelReturnAll() { + KeyValuePair tests = SetupCurrentParcel(); + if (tests.Key == false) + { + return Failure(tests.Value); + } GetClient().Parcels.ReturnObjects(GetClient().Network.CurrentSim, targetparcel.LocalID, ObjectReturnType.None, null); return BasicReply("ok"); }