From dd665ed9ce3a6c014f74347dfed59013c3492a4e Mon Sep 17 00:00:00 2001 From: Jesse Boyd Date: Mon, 29 Aug 2016 15:01:19 +1000 Subject: [PATCH] Fence rotation --- .../plot/generator/HybridPlotWorld.java | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/Core/src/main/java/com/intellectualcrafters/plot/generator/HybridPlotWorld.java b/Core/src/main/java/com/intellectualcrafters/plot/generator/HybridPlotWorld.java index 513fee9a5..54b8b127e 100644 --- a/Core/src/main/java/com/intellectualcrafters/plot/generator/HybridPlotWorld.java +++ b/Core/src/main/java/com/intellectualcrafters/plot/generator/HybridPlotWorld.java @@ -59,12 +59,20 @@ public class HybridPlotWorld extends ClassicPlotWorld { return (byte) (data + 4); } return data; - case 183: + case 26: // bed + case 86: // pumpkin + case 91: + case 183: // fence gate case 184: case 185: case 186: case 187: case 107: + data = wrap2(data, 0); + data = wrap2(data, 2); + data = wrap2(data, 4); + data = wrap2(data, 6); + return data; case 53: case 67: case 108: @@ -98,11 +106,6 @@ public class HybridPlotWorld extends ClassicPlotWorld { data = wrap(data, 8); data = wrap(data, 12); return data; - - case 26: - case 86: - data = wrap(data, 0); - return data; case 28: case 66: case 157: