mirror of
https://github.com/TotalFreedomMC/TF-PlotSquared.git
synced 2025-02-12 12:13:57 +00:00
fixed dynamic world border.
This commit is contained in:
parent
41d3283bbb
commit
853971de4c
1 changed files with 3 additions and 0 deletions
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue