mirror of
				https://github.com/IntellectualSites/PlotSquared.git
				synced 2025-11-04 03:03:43 +01:00 
			
		
		
		
	Fixed road schem unlink
This commit is contained in:
		@@ -81,8 +81,8 @@ public class HybridPlotManager extends ClassicPlotManager {
 | 
			
		||||
        PlotId id2 = new PlotId(id.x + 1, id.y);
 | 
			
		||||
        Location bot = getPlotBottomLocAbs(hpw, id2);
 | 
			
		||||
        Location top = getPlotTopLocAbs(hpw, id);
 | 
			
		||||
        Location pos1 = new Location(plot.world, top.getX() + 1, 0, bot.getZ() + 1);
 | 
			
		||||
        Location pos2 = new Location(plot.world, bot.getX(), 256, top.getZ());
 | 
			
		||||
        Location pos1 = new Location(plot.world, top.getX() + 1, 0, bot.getZ());
 | 
			
		||||
        Location pos2 = new Location(plot.world, bot.getX(), 256, top.getZ() + 1);
 | 
			
		||||
        createRoadAbs(hpw, pos1, pos2);
 | 
			
		||||
        return true;
 | 
			
		||||
    }
 | 
			
		||||
@@ -136,8 +136,8 @@ public class HybridPlotManager extends ClassicPlotManager {
 | 
			
		||||
        PlotId id2 = new PlotId(id.x, id.y + 1);
 | 
			
		||||
        Location bot = getPlotBottomLocAbs(hpw, id2);
 | 
			
		||||
        Location top = getPlotTopLocAbs(hpw, id);
 | 
			
		||||
        Location pos1 = new Location(plot.world, bot.getX() + 1, 0, top.getZ() + 1);
 | 
			
		||||
        Location pos2 = new Location(plot.world, top.getX(), 256, bot.getZ());
 | 
			
		||||
        Location pos1 = new Location(plot.world, bot.getX(), 0, top.getZ() + 1);
 | 
			
		||||
        Location pos2 = new Location(plot.world, top.getX() + 1, 256, bot.getZ());
 | 
			
		||||
        createRoadAbs(hpw, pos1, pos2);
 | 
			
		||||
        return true;
 | 
			
		||||
    }
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user