From 55f1f42ebf50ca2b4ba9a1348bfb1056163d29ba Mon Sep 17 00:00:00 2001 From: Dumbo52 Date: Sat, 28 Feb 2015 18:46:49 -0500 Subject: [PATCH 1/2] Add stone to usesData HashSet. --- .../src/main/java/com/sk89q/worldedit/blocks/BlockType.java | 1 + 1 file changed, 1 insertion(+) diff --git a/worldedit-core/src/main/java/com/sk89q/worldedit/blocks/BlockType.java b/worldedit-core/src/main/java/com/sk89q/worldedit/blocks/BlockType.java index eb83208a7..81af75020 100644 --- a/worldedit-core/src/main/java/com/sk89q/worldedit/blocks/BlockType.java +++ b/worldedit-core/src/main/java/com/sk89q/worldedit/blocks/BlockType.java @@ -728,6 +728,7 @@ public enum BlockType { */ private static final Set usesData = new HashSet(); static { + usesData.add(BlockID.STONE); usesData.add(BlockID.DIRT); usesData.add(BlockID.WOOD); usesData.add(BlockID.SAPLING); From 440cee35393ecc385fefe9732e05a893497f78ee Mon Sep 17 00:00:00 2001 From: Dumbo52 Date: Fri, 6 Mar 2015 01:42:22 -0500 Subject: [PATCH 2/2] Add banners to usesDamageValue HashSet. --- .../src/main/java/com/sk89q/worldedit/blocks/ItemType.java | 1 + 1 file changed, 1 insertion(+) diff --git a/worldedit-core/src/main/java/com/sk89q/worldedit/blocks/ItemType.java b/worldedit-core/src/main/java/com/sk89q/worldedit/blocks/ItemType.java index 36b90e133..e312ae286 100644 --- a/worldedit-core/src/main/java/com/sk89q/worldedit/blocks/ItemType.java +++ b/worldedit-core/src/main/java/com/sk89q/worldedit/blocks/ItemType.java @@ -680,6 +680,7 @@ public enum ItemType { usesDamageValue.add(ItemID.GOLD_APPLE); usesDamageValue.add(ItemID.RAW_FISH); usesDamageValue.add(ItemID.COOKED_FISH); + usesDamageValue.add(ItemID.BANNER); } /**