mirror of
https://github.com/TotalFreedomMC/TF-PlotSquared.git
synced 2025-02-12 03:59:22 +00:00
Potential plot clear fix
This commit is contained in:
parent
bbf5ba4488
commit
0fdb358291
1 changed files with 11 additions and 1 deletions
|
@ -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 a new issue