From d81b1d8b7ce6629ed1b74d599389a87f1cc79af5 Mon Sep 17 00:00:00 2001 From: libraryaddict Date: Fri, 9 May 2014 16:35:24 +1200 Subject: [PATCH] Removed true/false for disguise commands --- .../disguise/utilities/BaseDisguiseCommand.java | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/src/me/libraryaddict/disguise/utilities/BaseDisguiseCommand.java b/src/me/libraryaddict/disguise/utilities/BaseDisguiseCommand.java index b4997997..e7858360 100644 --- a/src/me/libraryaddict/disguise/utilities/BaseDisguiseCommand.java +++ b/src/me/libraryaddict/disguise/utilities/BaseDisguiseCommand.java @@ -206,14 +206,7 @@ public abstract class BaseDisguiseCommand implements CommandExecutor { if (disguiseType.isMob()) { // Its a mob, use the mob constructor boolean adult = true; if (args.length > 1) { - if (args[1].equalsIgnoreCase("true") || args[1].equalsIgnoreCase("false")) { - usedOptions.add("setbaby"); - doCheck(optionPermissions, usedOptions); - adult = "false".equalsIgnoreCase(args[1]); - sender.sendMessage(ChatColor.RED - + "I notice you are using true/false for constructing a mob disguise! This will soon be removed in favor of the simple 'baby'"); - toSkip++; - } else if (args[1].equalsIgnoreCase("baby") || args[1].equalsIgnoreCase("adult")) { + if (args[1].equalsIgnoreCase("baby") || args[1].equalsIgnoreCase("adult")) { usedOptions.add("setbaby"); doCheck(optionPermissions, usedOptions); adult = args[1].equalsIgnoreCase("adult");