From f213bb73e841cfa52a9b60530c72995769f7e74b Mon Sep 17 00:00:00 2001 From: wizjany Date: Thu, 18 Apr 2013 16:56:09 -0400 Subject: [PATCH] Added pistons (retracted only) to cycler tool. --- src/main/java/com/sk89q/worldedit/blocks/BlockData.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/java/com/sk89q/worldedit/blocks/BlockData.java b/src/main/java/com/sk89q/worldedit/blocks/BlockData.java index 1e6f81658..9fcffcbf3 100644 --- a/src/main/java/com/sk89q/worldedit/blocks/BlockData.java +++ b/src/main/java/com/sk89q/worldedit/blocks/BlockData.java @@ -773,6 +773,8 @@ public final class BlockData { case BlockID.STEP: case BlockID.DOUBLE_STEP: case BlockID.CAKE_BLOCK: + case BlockID.PISTON_BASE: + case BlockID.PISTON_STICKY_BASE: if (data > 5) return -1; return mod((data + increment), 6);