fixed dynamic world border.

This commit is contained in:
Jesse Boyd 2015-01-19 17:58:54 -08:00
parent 41d3283bbb
commit 853971de4c

View File

@ -454,6 +454,9 @@ import com.intellectualcrafters.plot.object.PlotWorld;
} }
public static void updateWorldBorder(Plot plot) { public static void updateWorldBorder(Plot plot) {
if (!worldBorder.containsKey(plot.world)) {
return;
}
String world = plot.world; String world = plot.world;
PlotManager manager = PlotMain.getPlotManager(world); PlotManager manager = PlotMain.getPlotManager(world);
PlotWorld plotworld = PlotMain.getWorldSettings(world); PlotWorld plotworld = PlotMain.getWorldSettings(world);