Add 'baby' for constructing a disguise, and inform them that true/false is soon to be removed

This commit is contained in:
Andrew 2013-11-12 16:34:54 +13:00
parent 962bbece37
commit 0576614825

@ -100,6 +100,11 @@ public abstract class BaseDisguiseCommand implements CommandExecutor {
if (args.length > 1) {
if (args[1].equalsIgnoreCase("true") || args[1].equalsIgnoreCase("false")) {
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")) {
adult = false;
toSkip++;
}
}