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:
parent
e63253dec0
commit
4216105037
1 changed files with 2 additions and 2 deletions
|
|
@ -839,7 +839,7 @@ namespace SecondBotEvents.Commands
|
|||
}
|
||||
|
||||
[About("Updates a flag setting for a parcel")]
|
||||
[ReturnHints("true|false")]
|
||||
[ReturnHints("true")]
|
||||
[ReturnHintsFailure("Error not in a sim")]
|
||||
[ReturnHintsFailure("Parcel data not ready")]
|
||||
[ReturnHintsFailure("Incorrect perms to control parcel")]
|
||||
|
|
@ -897,7 +897,7 @@ namespace SecondBotEvents.Commands
|
|||
}
|
||||
}
|
||||
targetparcel.Update(GetClient());
|
||||
return BasicReply("Applying perms", [escapedflagdata]);
|
||||
return BasicReply("true", [escapedflagdata]);
|
||||
}
|
||||
|
||||
[About("transfers the current parcel ownership to the assigned group")]
|
||||
|
|
|
|||
Loading…
Reference in a new issue