Fixed permissions checking for individual command.

This commit is contained in:
sk89q 2011-01-12 08:51:08 -08:00
parent f55d4be2e9
commit bd770a5fac

View File

@ -2048,7 +2048,8 @@ private boolean canUseCommand(LocalPlayer player, String command) {
|| player.hasPermission("worldedit"); || player.hasPermission("worldedit");
} }
return player.hasPermission("worldedit"); return player.hasPermission(command)
|| player.hasPermission("worldedit");
} }
/** /**