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
+2 -1
View File
@@ -55,7 +55,8 @@ namespace Game.Chat
[AttributeUsage(AttributeTargets.Class)]
public class CommandGroupAttribute : CommandAttribute
{
public CommandGroupAttribute(string command, RBACPermissions rbac, bool allowConsole = false) : base(command, rbac, allowConsole) { }
//todo fix me.
public CommandGroupAttribute(string command) : base(command, RBACPermissions.Max, true) { }
}
[AttributeUsage(AttributeTargets.Method)]