mirror of
https://hub.spigotmc.org/stash/scm/spigot/craftbukkit.git
synced 2025-08-21 05:44:33 +00:00
Reload ban files when reloading the server. Adds BUKKIT-3470
This commit is contained in:
parent
641ecc4f34
commit
488e45b4ff
1 changed files with 3 additions and 0 deletions
|
@ -544,6 +544,9 @@ public final class CraftServer implements Server {
|
|||
chunkGCPeriod = configuration.getInt("chunk-gc.period-in-ticks");
|
||||
chunkGCLoadThresh = configuration.getInt("chunk-gc.load-threshold");
|
||||
|
||||
playerList.getIPBans().load();
|
||||
playerList.getNameBans().load();
|
||||
|
||||
for (WorldServer world : console.worlds) {
|
||||
world.difficulty = difficulty;
|
||||
world.setSpawnFlags(monsters, animals);
|
||||
|
|
Loading…
Add table
Reference in a new issue