mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-06 09:33:45 +01:00
Fix plot unclaiming for non hybrid classic generators.
This commit is contained in:
parent
3336d302ac
commit
bb32507841
@ -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.
Loading…
Reference in New Issue
Block a user