소스 검색

Fixed /ability not checking the right permission

bm01 13 년 전
부모
커밋
b5963936fd
2개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 0
      Changelog.txt
  2. 1 1
      src/main/java/com/gmail/nossr50/commands/mc/McabilityCommand.java

+ 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;
         }