From 0684b1d425330099fd40a3934174c44ff3bc79da Mon Sep 17 00:00:00 2001 From: shatteredbeam Date: Tue, 12 Feb 2013 18:26:40 -0800 Subject: [PATCH] Permissions murder: The Sequel. --- .../java/com/gmail/nossr50/commands/player/McmmoCommand.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main/java/com/gmail/nossr50/commands/player/McmmoCommand.java b/src/main/java/com/gmail/nossr50/commands/player/McmmoCommand.java index c64677786..77e0b378c 100644 --- a/src/main/java/com/gmail/nossr50/commands/player/McmmoCommand.java +++ b/src/main/java/com/gmail/nossr50/commands/player/McmmoCommand.java @@ -10,7 +10,6 @@ import org.getspout.spoutapi.player.SpoutPlayer; import com.gmail.nossr50.mcMMO; import com.gmail.nossr50.config.Config; import com.gmail.nossr50.locale.LocaleLoader; -import com.gmail.nossr50.util.Permissions; public class McmmoCommand implements CommandExecutor { @Override @@ -37,7 +36,7 @@ public class McmmoCommand implements CommandExecutor { case 1: if (args[0].equalsIgnoreCase("?") || args[0].equalsIgnoreCase("help") || args[0].equalsIgnoreCase("commands")) { - if (!Permissions.hasPermission(sender, "mcmmo.commands.mcmmo.help")) { + if (!sender.hasPermission("mcmmo.commands.mcmmo.help")) { sender.sendMessage(command.getPermissionMessage()); return true; }