mirror of
				https://github.com/IntellectualSites/PlotSquared.git
				synced 2025-11-04 03:03:43 +01:00 
			
		
		
		
	Plot border fix + remove debug
This commit is contained in:
		@@ -216,7 +216,7 @@ public abstract class ClassicPlotManager extends SquarePlotManager {
 | 
			
		||||
        final PlotId pos1 = plotIds.get(0);
 | 
			
		||||
        final PlotBlock block = ((ClassicPlotWorld) plotworld).CLAIMED_WALL_BLOCK;
 | 
			
		||||
        final PlotBlock unclaim = ((ClassicPlotWorld) plotworld).WALL_BLOCK;
 | 
			
		||||
        if (!block.equals(unclaim)) {
 | 
			
		||||
        if (block.id != 0 || !block.equals(unclaim)) {
 | 
			
		||||
            setWall(plotworld, pos1, new PlotBlock[] { block });
 | 
			
		||||
        }
 | 
			
		||||
        return true;
 | 
			
		||||
 
 | 
			
		||||
@@ -218,7 +218,9 @@ public class HybridPlotManager extends ClassicPlotManager {
 | 
			
		||||
            public void run() {
 | 
			
		||||
                // When we are done with the inside of the plot, we can reset the wall / border
 | 
			
		||||
                final PlotBlock wall = isDelete ? dpw.WALL_BLOCK : dpw.CLAIMED_WALL_BLOCK;
 | 
			
		||||
                setWall(dpw, plot.id, new PlotBlock[] { wall });
 | 
			
		||||
                if (wall.id != 0 || !dpw.WALL_BLOCK.equals(dpw.CLAIMED_WALL_BLOCK)) {
 | 
			
		||||
                    setWall(dpw, plot.id, new PlotBlock[] { wall });
 | 
			
		||||
                }
 | 
			
		||||
                // And notify whatever called this when plot clearing is done
 | 
			
		||||
                SetBlockQueue.addNotify(whenDone);
 | 
			
		||||
            }
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user