1eca51b follow-up, nuke command.permission from orbit; it was only duplicating data already stored in the core.

Port From (https://github.com/TrinityCore/TrinityCore/commit/46d4e2fa8378eed414c07eb161a19b772c474735)
This commit is contained in:
hondacrx
2022-06-09 16:27:15 -04:00
parent 8edba61e49
commit ed79f93c7b
48 changed files with 223 additions and 276 deletions
+3 -3
View File
@@ -22,10 +22,10 @@ using Game.DataStorage;
namespace Game.Chat.Commands
{
[CommandGroup("disable", RBACPermissions.CommandDisable)]
[CommandGroup("disable")]
class DisableCommands
{
[CommandGroup("add", RBACPermissions.CommandDisableAdd, true)]
[CommandGroup("add")]
class DisableAddCommands
{
static bool HandleAddDisables(StringArguments args, CommandHandler handler, DisableType disableType)
@@ -222,7 +222,7 @@ namespace Game.Chat.Commands
}
}
[CommandGroup("remove", RBACPermissions.CommandDisableRemove, true)]
[CommandGroup("remove")]
class DisableRemoveCommands
{
static bool HandleRemoveDisables(StringArguments args, CommandHandler handler, DisableType disableType)