Add 'adult' to the thingy

This commit is contained in:
Andrew 2013-11-12 17:47:59 +13:00
parent c1ada67da6
commit 49347b6a46

@ -162,10 +162,10 @@ public abstract class BaseDisguiseCommand implements CommandExecutor {
sender.sendMessage(ChatColor.RED 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'"); + "I notice you are using true/false for constructing a mob disguise! This will soon be removed in favor of the simple 'baby'");
toSkip++; toSkip++;
} else if (args[1].equalsIgnoreCase("baby")) { } else if (args[1].equalsIgnoreCase("baby") || args[1].equalsIgnoreCase("adult")) {
usedOptions.add("setbaby"); usedOptions.add("setbaby");
doCheck(optionPermissions, usedOptions); doCheck(optionPermissions, usedOptions);
adult = false; adult = args[1].equalsIgnoreCase("adult");
toSkip++; toSkip++;
} }
} }