mirror of
https://github.com/Multiverse/Multiverse-Core.git
synced 2024-11-07 19:31:57 +01:00
Heh, switched my booleans...
This commit is contained in:
parent
ed5dfd08ae
commit
57941719ad
@ -41,7 +41,7 @@ public class PurgeWorlds {
|
|||||||
}
|
}
|
||||||
ArrayList<String> allMobs = new ArrayList<String>(world.getAnimalList());
|
ArrayList<String> allMobs = new ArrayList<String>(world.getAnimalList());
|
||||||
allMobs.addAll(world.getMonsterList());
|
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) {
|
public void purgeWorld(CommandSender sender, MVWorld mvworld, List<String> thingsToKill, boolean negateAnimals, boolean negateMonsters) {
|
||||||
|
Loading…
Reference in New Issue
Block a user