mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-22 13:16:45 +01:00
fixed dynamic world border.
This commit is contained in:
parent
41d3283bbb
commit
853971de4c
@ -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 New Issue
Block a user