Fix plot unclaiming for non hybrid classic generators.

This commit is contained in:
boy0001 2015-09-27 17:20:59 +10:00
parent 3336d302ac
commit bb32507841
2 changed files with 1 additions and 1 deletions

View File

@ -45,7 +45,7 @@ public class ClassicPlotManager extends SquarePlotManager {
@Override
public boolean unclaimPlot(final PlotWorld plotworld, final Plot plot, final Runnable whenDone) {
final HybridPlotWorld dpw = ((HybridPlotWorld) plotworld);
final ClassicPlotWorld dpw = ((ClassicPlotWorld) plotworld);
setWallFilling(dpw, plot.id, new PlotBlock[] { dpw.WALL_FILLING });
if ((dpw.WALL_BLOCK.id != 0) || !dpw.WALL_BLOCK.equals(dpw.CLAIMED_WALL_BLOCK)) {
setWall(dpw, plot.id, new PlotBlock[] { dpw.WALL_BLOCK });

Binary file not shown.