Update parcel flag command return value

Changed the return hint and reply for the parcel flag update command to consistently return 'true' instead of 'true|false' or a status message. This improves clarity and standardizes the command's output.
This commit is contained in:
Madpeter 2025-10-05 19:26:46 +01:00
parent e63253dec0
commit 4216105037

View file

@ -839,7 +839,7 @@ namespace SecondBotEvents.Commands
} }
[About("Updates a flag setting for a parcel")] [About("Updates a flag setting for a parcel")]
[ReturnHints("true|false")] [ReturnHints("true")]
[ReturnHintsFailure("Error not in a sim")] [ReturnHintsFailure("Error not in a sim")]
[ReturnHintsFailure("Parcel data not ready")] [ReturnHintsFailure("Parcel data not ready")]
[ReturnHintsFailure("Incorrect perms to control parcel")] [ReturnHintsFailure("Incorrect perms to control parcel")]
@ -897,7 +897,7 @@ namespace SecondBotEvents.Commands
} }
} }
targetparcel.Update(GetClient()); targetparcel.Update(GetClient());
return BasicReply("Applying perms", [escapedflagdata]); return BasicReply("true", [escapedflagdata]);
} }
[About("transfers the current parcel ownership to the assigned group")] [About("transfers the current parcel ownership to the assigned group")]