mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-29 16:46:45 +01:00
Fixed plot clearing
This commit is contained in:
parent
c689dff014
commit
fb076adfab
@ -100,7 +100,6 @@ public class HybridPlotManager extends ClassicPlotManager {
|
|||||||
TaskManager.runTaskLater(new Runnable() {
|
TaskManager.runTaskLater(new Runnable() {
|
||||||
@Override
|
@Override
|
||||||
public void run() {
|
public void run() {
|
||||||
setWall(dpw, plot.id, new PlotBlock[] { wall });
|
|
||||||
TaskManager.runTaskLater(new Runnable() {
|
TaskManager.runTaskLater(new Runnable() {
|
||||||
@Override
|
@Override
|
||||||
public void run() {
|
public void run() {
|
||||||
@ -147,14 +146,10 @@ public class HybridPlotManager extends ClassicPlotManager {
|
|||||||
}
|
}
|
||||||
final int I = i;
|
final int I = i;
|
||||||
final int J = j;
|
final int J = j;
|
||||||
TaskManager.runTaskLater(new Runnable() {
|
BukkitUtil.regenerateChunk(world, I / 16, J / 16);
|
||||||
@Override
|
|
||||||
public void run() {
|
|
||||||
BukkitUtil.regenerateChunk(world, I / 16, J / 16);
|
|
||||||
}
|
|
||||||
}, PseudoRandom.random(40));
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
setWall(dpw, plot.id, new PlotBlock[] { wall });
|
||||||
final Location max = mx;
|
final Location max = mx;
|
||||||
final Location min = mn;
|
final Location min = mn;
|
||||||
if (min == null) {
|
if (min == null) {
|
||||||
|
Loading…
Reference in New Issue
Block a user