#1672 Fixed typo that made animal lists behave like monster lists

(cherry picked from commit b933027523)
This commit is contained in:
Eric Stokes 2016-03-06 23:01:16 -05:00 committed by Jeremy Wood
parent 58a489191d
commit 174fcdb1f7

View File

@ -181,8 +181,8 @@ public class InfoCommand extends MultiverseCommand {
message.add(new FancyHeader("Animal Settings", colors));
message.add(new FancyMessage("Multiverse Setting: ", world.canAnimalsSpawn() + "", colors));
message.add(new FancyMessage("Bukkit Setting: ", world.getCBWorld().getAllowAnimals() + "", colors));
if (world.getMonsterList().size() > 0) {
if (world.canMonstersSpawn()) {
if (world.getAnimalList().size() > 0) {
if (world.canAnimalsSpawn()) {
message.add(new FancyMessage("Animals that" + ChatColor.RED + " CAN NOT "
+ ChatColor.GREEN + "spawn: ", toCommaSeperated(world.getAnimalList()), colors));
} else {