From d61e23d04ff6bf9cb93f6bdf328a6061db240ac1 Mon Sep 17 00:00:00 2001 From: boy0001 Date: Sat, 2 May 2015 21:11:15 +1000 Subject: [PATCH] Fixed road schem unlink --- .../plot/generator/HybridPlotManager.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/PlotSquared/src/main/java/com/intellectualcrafters/plot/generator/HybridPlotManager.java b/PlotSquared/src/main/java/com/intellectualcrafters/plot/generator/HybridPlotManager.java index 6bb6d07d7..bbdcf904b 100644 --- a/PlotSquared/src/main/java/com/intellectualcrafters/plot/generator/HybridPlotManager.java +++ b/PlotSquared/src/main/java/com/intellectualcrafters/plot/generator/HybridPlotManager.java @@ -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; }