From 40c41fe1d00065badfdd99fe897964e6d21df32e Mon Sep 17 00:00:00 2001 From: Andrew Date: Tue, 12 Nov 2013 16:35:10 +1300 Subject: [PATCH] Fix the /disguiseplayer command not working for console --- .../disguise/commands/DisguisePlayerCommand.java | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/me/libraryaddict/disguise/commands/DisguisePlayerCommand.java b/src/me/libraryaddict/disguise/commands/DisguisePlayerCommand.java index ea47967c..4c9e4999 100644 --- a/src/me/libraryaddict/disguise/commands/DisguisePlayerCommand.java +++ b/src/me/libraryaddict/disguise/commands/DisguisePlayerCommand.java @@ -15,10 +15,6 @@ public class DisguisePlayerCommand extends BaseDisguiseCommand { @Override public boolean onCommand(CommandSender sender, Command cmd, String label, String[] args) { - if (sender.getName().equals("CONSOLE")) { - sender.sendMessage(ChatColor.RED + "You may not use this command from the console!"); - return true; - } ArrayList allowedDisguises = getAllowedDisguises(sender, "disguiseplayer"); if (allowedDisguises.isEmpty()) { sender.sendMessage(ChatColor.RED + "You are forbidden to use this command.");