summaryrefslogtreecommitdiffstats
path: root/src/main/java/org/bukkit
diff options
context:
space:
mode:
authorEvilSeph <evilseph@unaligned.org>2011-05-22 15:29:55 -0400
committerEvilSeph <evilseph@unaligned.org>2011-05-22 15:33:34 -0400
commit949634ad67595829ca8d205aa7978bed29bbf00b (patch)
tree8a8acb8c0b71a3acfe91d9dd53fd14d57216b036 /src/main/java/org/bukkit
parent8b0924bbb449d1bf7d38d1d4743b383ba0ae0471 (diff)
downloadcraftbukkit-949634ad67595829ca8d205aa7978bed29bbf00b.tar
craftbukkit-949634ad67595829ca8d205aa7978bed29bbf00b.tar.gz
craftbukkit-949634ad67595829ca8d205aa7978bed29bbf00b.tar.lz
craftbukkit-949634ad67595829ca8d205aa7978bed29bbf00b.tar.xz
craftbukkit-949634ad67595829ca8d205aa7978bed29bbf00b.zip
Fixed animals not spawning when spawn-monsters is set to false.
Diffstat (limited to 'src/main/java/org/bukkit')
-rw-r--r--src/main/java/org/bukkit/craftbukkit/CraftServer.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/bukkit/craftbukkit/CraftServer.java b/src/main/java/org/bukkit/craftbukkit/CraftServer.java
index e245e549..a7be0d88 100644
--- a/src/main/java/org/bukkit/craftbukkit/CraftServer.java
+++ b/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);