mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2025-07-25 16:45:28 +02:00
Fix plot unclaiming for non hybrid classic generators.
This commit is contained in:
@@ -45,7 +45,7 @@ public class ClassicPlotManager extends SquarePlotManager {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean unclaimPlot(final PlotWorld plotworld, final Plot plot, final Runnable whenDone) {
|
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 });
|
setWallFilling(dpw, plot.id, new PlotBlock[] { dpw.WALL_FILLING });
|
||||||
if ((dpw.WALL_BLOCK.id != 0) || !dpw.WALL_BLOCK.equals(dpw.CLAIMED_WALL_BLOCK)) {
|
if ((dpw.WALL_BLOCK.id != 0) || !dpw.WALL_BLOCK.equals(dpw.CLAIMED_WALL_BLOCK)) {
|
||||||
setWall(dpw, plot.id, new PlotBlock[] { dpw.WALL_BLOCK });
|
setWall(dpw, plot.id, new PlotBlock[] { dpw.WALL_BLOCK });
|
||||||
|
Binary file not shown.
Reference in New Issue
Block a user