Fixed mcability not respecting permissions.

This commit is contained in:
nossr50 2012-02-14 15:21:34 -08:00
parent 9589924235
commit bc8f073f3f

View File

@ -18,7 +18,7 @@ public class McabilityCommand implements CommandExecutor {
player = (Player) sender;
}
if (player != null && player.hasPermission("mcmmo.commands.ability")) {
if (player != null && !player.hasPermission("mcmmo.commands.ability")) {
sender.sendMessage("This command requires permissions.");
return true;
}