From 29868bdd29f277ca1365ec4c05db547dd19141f0 Mon Sep 17 00:00:00 2001 From: dordsor21 Date: Tue, 1 Jan 2019 14:43:41 +0000 Subject: [PATCH] Fix road generation for roads of even width --- .../plotsquared/plot/generator/HybridPlotWorld.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Core/src/main/java/com/github/intellectualsites/plotsquared/plot/generator/HybridPlotWorld.java b/Core/src/main/java/com/github/intellectualsites/plotsquared/plot/generator/HybridPlotWorld.java index 564cda0a6..4bed2c97a 100644 --- a/Core/src/main/java/com/github/intellectualsites/plotsquared/plot/generator/HybridPlotWorld.java +++ b/Core/src/main/java/com/github/intellectualsites/plotsquared/plot/generator/HybridPlotWorld.java @@ -243,7 +243,7 @@ public class HybridPlotWorld extends ClassicPlotWorld { addOverlayBlock((short) (x - shift), (short) (y + startY), (short) (z + shift + oddshift), id, false, h1); addOverlayBlock((short) (z + shift + oddshift), (short) (y + startY), - (short) (shift - x), id, true, h1); + (short) (shift - x + (oddshift - 1)), id, true, h1); } } }