From 488e45b4ff8cb0f2811d78887fd6aa2ee0b3ebfb Mon Sep 17 00:00:00 2001 From: feildmaster Date: Wed, 23 Jan 2013 06:24:40 -0600 Subject: [PATCH] Reload ban files when reloading the server. Adds BUKKIT-3470 --- src/main/java/org/bukkit/craftbukkit/CraftServer.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main/java/org/bukkit/craftbukkit/CraftServer.java b/src/main/java/org/bukkit/craftbukkit/CraftServer.java index 936cbc64a1..eecededea3 100644 --- a/src/main/java/org/bukkit/craftbukkit/CraftServer.java +++ b/src/main/java/org/bukkit/craftbukkit/CraftServer.java @@ -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);