From 2734dc377c4a2db5ccb9e798e414db298486badf Mon Sep 17 00:00:00 2001 From: David Ortiz Date: Tue, 17 May 2016 03:00:09 -0500 Subject: [PATCH] Add 1.9 doors to getBlockBagItem HashMap --- .../main/java/com/sk89q/worldedit/blocks/BlockType.java | 7 +++++++ 1 file changed, 7 insertions(+) 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 9841bc35b..c225d5d6d 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 @@ -23,6 +23,7 @@ import com.sk89q.util.StringUtil; import com.sk89q.worldedit.PlayerDirection; import javax.annotation.Nullable; + import java.util.EnumSet; import java.util.HashMap; import java.util.HashSet; @@ -1520,6 +1521,12 @@ public enum BlockType { addIdentity(BlockID.PACKED_ICE); addIdentities(BlockID.STAINED_GLASS_PANE, 16); addIdentities(BlockID.DOUBLE_PLANT, 6); + + addIdentities(BlockID.ACACIA_DOOR, 8); // rule 2 + addIdentities(BlockID.BIRCH_DOOR, 8); // rule 2 + addIdentities(BlockID.JUNGLE_DOOR, 8); // rule 2 + addIdentities(BlockID.DARK_OAK_DOOR, 8); // rule 2 + addIdentities(BlockID.SPRUCE_DOOR, 8); // rule 2 } /**