Made reload support allow-flight.

By: EvilSeph <evilseph@unaligned.org>
This commit is contained in:
CraftBukkit/Spigot 2011-04-21 15:40:22 -04:00
parent 726a64db9c
commit 6c3edc4921

View file

@ -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;