From c3342bb7b44099ffb3a54da67743e4b1535e7616 Mon Sep 17 00:00:00 2001 From: David Ortiz Date: Tue, 17 May 2016 01:12:37 -0500 Subject: [PATCH] Add support for 1.9 doors on MultiStageReorder --- .../java/com/sk89q/worldedit/blocks/BlockType.java | 10 ++++++++++ 1 file changed, 10 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 81af75020..9841bc35b 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 @@ -497,6 +497,11 @@ public enum BlockType { static { shouldPlaceFinal.add(BlockID.SIGN_POST); shouldPlaceFinal.add(BlockID.WOODEN_DOOR); + shouldPlaceFinal.add(BlockID.ACACIA_DOOR); + shouldPlaceFinal.add(BlockID.BIRCH_DOOR); + shouldPlaceFinal.add(BlockID.JUNGLE_DOOR); + shouldPlaceFinal.add(BlockID.DARK_OAK_DOOR); + shouldPlaceFinal.add(BlockID.SPRUCE_DOOR); shouldPlaceFinal.add(BlockID.WALL_SIGN); shouldPlaceFinal.add(BlockID.IRON_DOOR); shouldPlaceFinal.add(BlockID.CACTUS); @@ -920,6 +925,11 @@ public enum BlockType { isRedstoneBlock.add(BlockID.STONE_BUTTON); isRedstoneBlock.add(BlockID.REDSTONE_WIRE); isRedstoneBlock.add(BlockID.WOODEN_DOOR); + isRedstoneBlock.add(BlockID.ACACIA_DOOR); + isRedstoneBlock.add(BlockID.BIRCH_DOOR); + isRedstoneBlock.add(BlockID.JUNGLE_DOOR); + isRedstoneBlock.add(BlockID.DARK_OAK_DOOR); + isRedstoneBlock.add(BlockID.SPRUCE_DOOR); isRedstoneBlock.add(BlockID.IRON_DOOR); isRedstoneBlock.add(BlockID.TNT); isRedstoneBlock.add(BlockID.DISPENSER);