diff options
author | Dinnerbone <dinnerbone@dinnerbone.com> | 2011-09-02 19:19:50 +0100 |
---|---|---|
committer | Dinnerbone <dinnerbone@dinnerbone.com> | 2011-09-02 19:19:50 +0100 |
commit | d69bbd38c28472eb99d29c9f69131224ad7ae1b2 (patch) | |
tree | b63158494571e524d439c6b175af4a6bba0ed7b7 /src/main/java/net | |
parent | 3915c15ef5e4af32c982e4d060dc52648fe35015 (diff) | |
download | craftbukkit-d69bbd38c28472eb99d29c9f69131224ad7ae1b2.tar craftbukkit-d69bbd38c28472eb99d29c9f69131224ad7ae1b2.tar.gz craftbukkit-d69bbd38c28472eb99d29c9f69131224ad7ae1b2.tar.lz craftbukkit-d69bbd38c28472eb99d29c9f69131224ad7ae1b2.tar.xz craftbukkit-d69bbd38c28472eb99d29c9f69131224ad7ae1b2.zip |
Commands are now "bukkit.command.x" instead of "craftbukkit.command.x", added legacy perms for compat
Diffstat (limited to 'src/main/java/net')
-rw-r--r-- | src/main/java/net/minecraft/server/ConsoleCommandHandler.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/net/minecraft/server/ConsoleCommandHandler.java b/src/main/java/net/minecraft/server/ConsoleCommandHandler.java index dc8168cb..ea6338a9 100644 --- a/src/main/java/net/minecraft/server/ConsoleCommandHandler.java +++ b/src/main/java/net/minecraft/server/ConsoleCommandHandler.java @@ -35,7 +35,7 @@ public class ConsoleCommandHandler { } private boolean checkPermission(ICommandListener listener, String command) { - if (hasPermission(listener, "craftbukkit.command." + command)) { + if (hasPermission(listener, "bukkit.command." + command)) { return true; } else { listener.sendMessage("I'm sorry, Dave, but I cannot let you do that."); |