Heh, switched my booleans...

This commit is contained in:
Eric Stokes 2011-06-28 21:27:50 -06:00
parent ed5dfd08ae
commit 57941719ad

View File

@ -41,7 +41,7 @@ public class PurgeWorlds {
}
ArrayList<String> allMobs = new ArrayList<String>(world.getAnimalList());
allMobs.addAll(world.getMonsterList());
purgeWorld(sender, world, allMobs, world.allowAnimalSpawning(), world.allowMonsterSpawning());
purgeWorld(sender, world, allMobs, !world.allowAnimalSpawning(), !world.allowMonsterSpawning());
}
public void purgeWorld(CommandSender sender, MVWorld mvworld, List<String> thingsToKill, boolean negateAnimals, boolean negateMonsters) {