From 393603e786a922515119f943aa34a0ddbe4ae40d Mon Sep 17 00:00:00 2001 From: boy0001 Date: Thu, 25 Jun 2015 10:35:20 +1000 Subject: [PATCH] Fixes #360 --- .../plot/generator/HybridPlotWorld.java | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/PlotSquared/src/main/java/com/intellectualcrafters/plot/generator/HybridPlotWorld.java b/PlotSquared/src/main/java/com/intellectualcrafters/plot/generator/HybridPlotWorld.java index 90f21c237..6203e38ac 100644 --- a/PlotSquared/src/main/java/com/intellectualcrafters/plot/generator/HybridPlotWorld.java +++ b/PlotSquared/src/main/java/com/intellectualcrafters/plot/generator/HybridPlotWorld.java @@ -212,6 +212,16 @@ public class HybridPlotWorld extends ClassicPlotWorld { public static byte rotate(final short id, byte data) { switch (id) { + case 162: + case 17: { + if (data >= 4 && data < 12) { + if (data >= 8) { + return (byte) (data - 4); + } + return (byte) (data + 4); + } + return data; + } case 183: case 184: case 185: