Add 'adult' to the thingy
This commit is contained in:
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++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user