diff --git a/src/main/java/com/gmail/nossr50/commands/mc/McabilityCommand.java b/src/main/java/com/gmail/nossr50/commands/mc/McabilityCommand.java index a109883ec..fced60310 100644 --- a/src/main/java/com/gmail/nossr50/commands/mc/McabilityCommand.java +++ b/src/main/java/com/gmail/nossr50/commands/mc/McabilityCommand.java @@ -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; }