Fixed augmented clearing for type 0

This commit is contained in:
boy0001 2015-05-15 00:18:44 +10:00
parent 86eb4d58d5
commit fa62ede0e7

View File

@ -195,6 +195,7 @@ public class HybridPlotManager extends ClassicPlotManager {
final int plotMaxZ = l2.getZ();
Location mn = null;
Location mx = null;
if (plotworld.TYPE == 0 && plotworld.TERRAIN == 0) {
for (int i = startX; i < chunkX; i += 16) {
for (int j = startZ; j < chunkZ; j += 16) {
final Plot plot1 = MainUtil.getPlot(new Location(world, i, 0, j));
@ -231,6 +232,7 @@ public class HybridPlotManager extends ClassicPlotManager {
}
}
}
}
setWall(dpw, plot.id, new PlotBlock[] { wall });
final Location max = mx;
final Location min = mn;