Add 'adult' to the thingy

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

View File

@ -162,10 +162,10 @@ public abstract class BaseDisguiseCommand implements CommandExecutor {
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")) {
} else if (args[1].equalsIgnoreCase("baby") || args[1].equalsIgnoreCase("adult")) {
usedOptions.add("setbaby");
doCheck(optionPermissions, usedOptions);
adult = false;
adult = args[1].equalsIgnoreCase("adult");
toSkip++;
}
}