From 853971de4c87914f62bb2a6441e3cb3d9b18b3ed Mon Sep 17 00:00:00 2001 From: Jesse Boyd Date: Mon, 19 Jan 2015 17:58:54 -0800 Subject: [PATCH] fixed dynamic world border. --- .../java/com/intellectualcrafters/plot/util/PlotHelper.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/PlotSquared/src/main/java/com/intellectualcrafters/plot/util/PlotHelper.java b/PlotSquared/src/main/java/com/intellectualcrafters/plot/util/PlotHelper.java index 6e5217646..8fdb4138c 100644 --- a/PlotSquared/src/main/java/com/intellectualcrafters/plot/util/PlotHelper.java +++ b/PlotSquared/src/main/java/com/intellectualcrafters/plot/util/PlotHelper.java @@ -454,6 +454,9 @@ import com.intellectualcrafters.plot.object.PlotWorld; } public static void updateWorldBorder(Plot plot) { + if (!worldBorder.containsKey(plot.world)) { + return; + } String world = plot.world; PlotManager manager = PlotMain.getPlotManager(world); PlotWorld plotworld = PlotMain.getWorldSettings(world);