summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEvilSeph <evilseph@unaligned.org>2011-04-21 15:40:22 -0400
committerEvilSeph <evilseph@unaligned.org>2011-04-21 15:40:22 -0400
commit4d78c45d8b3fbc170c73b964c6cea60f77525999 (patch)
tree98f15c234b69703e215c772893837f888870f56d /src
parent4ae695a1763b6e7d50af5adbe2ca6e674231e813 (diff)
downloadcraftbukkit-4d78c45d8b3fbc170c73b964c6cea60f77525999.tar
craftbukkit-4d78c45d8b3fbc170c73b964c6cea60f77525999.tar.gz
craftbukkit-4d78c45d8b3fbc170c73b964c6cea60f77525999.tar.lz
craftbukkit-4d78c45d8b3fbc170c73b964c6cea60f77525999.tar.xz
craftbukkit-4d78c45d8b3fbc170c73b964c6cea60f77525999.zip
Made reload support allow-flight.
Diffstat (limited to 'src')
-rw-r--r--src/main/java/org/bukkit/craftbukkit/CraftServer.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/java/org/bukkit/craftbukkit/CraftServer.java b/src/main/java/org/bukkit/craftbukkit/CraftServer.java
index 31562f7d..b699258d 100644
--- a/src/main/java/org/bukkit/craftbukkit/CraftServer.java
+++ b/src/main/java/org/bukkit/craftbukkit/CraftServer.java
@@ -275,6 +275,7 @@ public final class CraftServer implements Server {
console.onlineMode = config.getBoolean("online-mode", console.onlineMode);
console.spawnAnimals = config.getBoolean("spawn-animals", console.spawnAnimals);
console.pvpMode = config.getBoolean("pvp", console.pvpMode);
+ console.o = config.getBoolean("allow-flight", console.o);
for (WorldServer world : console.worlds) {
world.spawnMonsters = monsters ? 1 : 0;