mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-26 15:16:45 +01:00
Potential plot clear fix
This commit is contained in:
parent
bbf5ba4488
commit
0fdb358291
@ -692,6 +692,17 @@ import java.util.UUID;
|
|||||||
state = h;
|
state = h;
|
||||||
|
|
||||||
manager.clearPlot(world, plot, isDelete);
|
manager.clearPlot(world, plot, isDelete);
|
||||||
|
|
||||||
|
if (canSetFast) {
|
||||||
|
final Plugin plugin = PlotMain.getMain();
|
||||||
|
Bukkit.getScheduler().scheduleSyncDelayedTask(plugin, new Runnable() {
|
||||||
|
@Override
|
||||||
|
public void run() {
|
||||||
|
PlotHelper.setBiome(world, plot, Biome.FOREST);
|
||||||
|
refreshPlotChunks(world, plot);
|
||||||
|
}
|
||||||
|
}, 90L);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -724,7 +735,6 @@ import java.util.UUID;
|
|||||||
removeSign(world, plot);
|
removeSign(world, plot);
|
||||||
final Plugin plugin = PlotMain.getMain();
|
final Plugin plugin = PlotMain.getMain();
|
||||||
PlayerFunctions.sendMessage(requester, C.CLEARING_DONE.s().replaceAll("%time%", "" + ((System.currentTimeMillis() - start))));
|
PlayerFunctions.sendMessage(requester, C.CLEARING_DONE.s().replaceAll("%time%", "" + ((System.currentTimeMillis() - start))));
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void setCuboid(final World world, final Location pos1, final Location pos2, final PlotBlock newblock) {
|
public static void setCuboid(final World world, final Location pos1, final Location pos2, final PlotBlock newblock) {
|
||||||
|
Loading…
Reference in New Issue
Block a user