From 31ed3023b55e9c50c6a5ecc59707954c86d3474c Mon Sep 17 00:00:00 2001 From: CraftBukkit/Spigot Date: Sun, 22 May 2011 15:29:55 -0400 Subject: [PATCH] Fixed animals not spawning when spawn-monsters is set to false. By: EvilSeph --- .../src/main/java/org/bukkit/craftbukkit/CraftServer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/paper-server/src/main/java/org/bukkit/craftbukkit/CraftServer.java b/paper-server/src/main/java/org/bukkit/craftbukkit/CraftServer.java index e245e549e9..a7be0d88af 100644 --- a/paper-server/src/main/java/org/bukkit/craftbukkit/CraftServer.java +++ b/paper-server/src/main/java/org/bukkit/craftbukkit/CraftServer.java @@ -293,7 +293,7 @@ public final class CraftServer implements Server { console.propertyManager = config; - boolean animals = config.getBoolean("spawn-monsters", console.spawnAnimals); + boolean animals = config.getBoolean("spawn-animals", console.spawnAnimals); boolean monsters = config.getBoolean("spawn-monsters", console.worlds.get(0).spawnMonsters > 0); console.onlineMode = config.getBoolean("online-mode", console.onlineMode);