Rename .debug uws to .debug worldstate (clarity change).
Port From (https://github.com/TrinityCore/TrinityCore/commit/29db04c3c92c0a6ca5d35d3fcc49d7766e3eddc3)
This commit is contained in:
@@ -244,7 +244,7 @@ namespace Framework.Constants
|
||||
CommandDebugSpawnvehicle = 336,
|
||||
CommandDebugThreat = 337,
|
||||
CommandDebugUpdate = 338, // DEPRECATED: DON'T REUSE
|
||||
CommandDebugUws = 339,
|
||||
CommandDebugWorldState = 339,
|
||||
CommandWpgps = 340,
|
||||
CommandDeserter = 341,
|
||||
CommandDeserterBg = 342,
|
||||
|
||||
@@ -835,7 +835,7 @@ namespace Game.Chat
|
||||
return true;
|
||||
}
|
||||
|
||||
[Command("uws", RBACPermissions.CommandDebugUws)]
|
||||
[Command("worldstate", RBACPermissions.CommandDebugWorldState)]
|
||||
static bool HandleDebugUpdateWorldStateCommand(StringArguments args, CommandHandler handler)
|
||||
{
|
||||
if (!uint.TryParse(args.NextString(), out uint variable) || variable == 0)
|
||||
|
||||
@@ -0,0 +1,4 @@
|
||||
--
|
||||
UPDATE `command` SET `name`="debug worldstate",`help`="Syntax: debug worldstate $stateId $value
|
||||
|
||||
Sends a world state update for the specified state to your client." WHERE `name`="debug uws";
|
||||
Reference in New Issue
Block a user