From bc8f073f3f472fd01051db23c59b9b5d7821d864 Mon Sep 17 00:00:00 2001 From: nossr50 Date: Tue, 14 Feb 2012 15:21:34 -0800 Subject: [PATCH] Fixed mcability not respecting permissions. --- .../java/com/gmail/nossr50/commands/mc/McabilityCommand.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }