From d83fed13fb61698d2515c73caf88621270bdb8bc Mon Sep 17 00:00:00 2001 From: zml2008 Date: Sun, 28 Aug 2011 20:46:54 -0700 Subject: [PATCH] Fixed 43 and 44 block data cycling --- .../com/sk89q/worldedit/tools/BlockDataCyler.java | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/main/java/com/sk89q/worldedit/tools/BlockDataCyler.java b/src/main/java/com/sk89q/worldedit/tools/BlockDataCyler.java index bf7c42a9a..6885ad44f 100644 --- a/src/main/java/com/sk89q/worldedit/tools/BlockDataCyler.java +++ b/src/main/java/com/sk89q/worldedit/tools/BlockDataCyler.java @@ -74,13 +74,13 @@ public class BlockDataCyler implements DoubleActionBlockTool { } else if (type == BlockID.WOODEN_STAIRS || type == BlockID.COBBLESTONE_STAIRS) { data = (data + increment) % 4; } else if (type == BlockID.SIGN_POST) { - data = (data + increment) % 16; + data = (data + increment) % 16; } else if (type == BlockID.WALL_SIGN) { - data = ((data + increment) - 2) % 4 + 2; - } else if (type == BlockID.STEP) { - data = (data + increment) % 3; - } else if (type == BlockID.DOUBLE_STEP) { - data = (data + increment) % 3; + data = ((data + increment) - 2) % 4 + 2; + } else if (type == BlockID.STEP) { + data = (data + increment) % 4; + } else if (type == BlockID.DOUBLE_STEP) { + data = (data + increment) % 4; } else if (type == BlockID.FURNACE || type == BlockID.BURNING_FURNACE || type == BlockID.DISPENSER) { data = (data + increment) % 4 + 2;