2
0
Эх сурвалжийг харах

Fixed /ability not checking the right permission

bm01 13 жил өмнө
parent
commit
b5963936fd

+ 1 - 0
Changelog.txt

@@ -19,6 +19,7 @@ Version 1.3.07
  + Added config options for enabling/disabling specific double drops
  + Added automatic zip backup of flatfile database & config files
  + Added config options to enable/disable specific skills for PVP & PVE
+ = Fixed /ability not checking the right permission
  = Fixed rare NPE on /party command
  = Fixed Arrow Retrieval dropping only one arrow
  = Fixed /p and /a incompatibilities with bChatManager

+ 1 - 1
src/main/java/com/gmail/nossr50/commands/mc/McabilityCommand.java

@@ -18,7 +18,7 @@ public class McabilityCommand implements CommandExecutor {
             return true;
         }
 
-        if (CommandHelper.noCommandPermissions(sender, "mcmmo.admin")) {
+        if (CommandHelper.noCommandPermissions(sender, "mcmmo.commands.ability")) {
             return true;
         }