From e2c71e4269390f37eb68806bea5276f34052d6e6 Mon Sep 17 00:00:00 2001 From: TomyLobo Date: Fri, 30 Sep 2011 08:56:09 +0200 Subject: [PATCH] Added cactus to getAttachment. --- src/main/java/com/sk89q/worldedit/blocks/BlockType.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/com/sk89q/worldedit/blocks/BlockType.java b/src/main/java/com/sk89q/worldedit/blocks/BlockType.java index 289b73549..1ddc98461 100644 --- a/src/main/java/com/sk89q/worldedit/blocks/BlockType.java +++ b/src/main/java/com/sk89q/worldedit/blocks/BlockType.java @@ -911,6 +911,7 @@ public enum BlockType { for (int offset = 0; offset <= 8; offset += 8) { addCardinals(BlockID.STONE_BUTTON, offset+4, offset+1, offset+3, offset+2); } + nonDataAttachments.put(BlockID.CACTUS, PlayerDirection.DOWN); nonDataAttachments.put(BlockID.REED, PlayerDirection.DOWN); nonDataAttachments.put(BlockID.CAKE_BLOCK, PlayerDirection.DOWN); nonDataAttachments.put(BlockID.REDSTONE_REPEATER_OFF, PlayerDirection.DOWN);