mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-08-25 23:12:53 +02: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
|
||||
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.
Loading…
Reference in New Issue
Block a user