mirror of
				https://github.com/IntellectualSites/PlotSquared.git
				synced 2025-10-31 01:23:44 +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; | ||||
|                 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); | ||||
|             } | ||||
|   | ||||
| @@ -85,10 +85,8 @@ public class BukkitPlayer extends PlotPlayer { | ||||
|             return true; | ||||
|         } | ||||
|         if (offline && EconHandler.manager != null) { | ||||
|             System.out.print("CHECKIGN VAULT!"); | ||||
|             return EconHandler.manager.hasPermission(getName(), perm); | ||||
|         } | ||||
|         System.out.print("CHECKING: " + perm + " -> " + player.hasPermission(perm)); | ||||
|         return this.player.hasPermission(perm); | ||||
|     } | ||||
|      | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 boy0001
					boy0001