mirror of
https://github.com/TotalFreedomMC/TF-LibsDisguises.git
synced 2025-02-12 03:57:03 +00:00
Add 'adult' to the thingy
This commit is contained in:
parent
c1ada67da6
commit
49347b6a46
1 changed files with 2 additions and 2 deletions
|
@ -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 a new issue