From 084e9456e174e09d7c5a7d1f24c64133a62e796e Mon Sep 17 00:00:00 2001 From: Wizjany Date: Sat, 2 Jul 2011 15:13:21 -0400 Subject: [PATCH] Added 1.7 blocks to BlockType methods. --- src/main/java/com/sk89q/worldedit/blocks/BlockType.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/main/java/com/sk89q/worldedit/blocks/BlockType.java b/src/main/java/com/sk89q/worldedit/blocks/BlockType.java index 7ea89827a..002f2841c 100644 --- a/src/main/java/com/sk89q/worldedit/blocks/BlockType.java +++ b/src/main/java/com/sk89q/worldedit/blocks/BlockType.java @@ -458,7 +458,10 @@ public enum BlockType { || id == 26 // Bed || id == 27 // Powered rails || id == 28 // Detector rails + || id == 29 // Sticky piston || id == 31 // Tall grass + || id == 33 // Piston + || id == 34 // Piston extension || id == 35 // Wool || id == 43 // Double slab || id == 44 // Slab @@ -514,6 +517,8 @@ public enum BlockType { public static boolean isRedstoneBlock(int id) { return id == 27 // Powered rail || id == 28 // Detector rail + || id == 29 // Sticky piston + || id == 33 // Piston || id == 69 // Lever || id == 70 // Stone pressure plate || id == 72 // Wood pressure plate