mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-02 17:32:03 +01:00
Made reload support allow-flight.
By: EvilSeph <evilseph@unaligned.org>
This commit is contained in:
parent
726a64db9c
commit
6c3edc4921
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue