Commands are now "bukkit.command.x" instead of "craftbukkit.command.x", added legacy perms for compat
This commit is contained in:
@@ -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.");
|
||||
|
||||
Reference in New Issue
Block a user