From 7b5230ad08d7e4c30739569d5a77dbd6bf5c4ca7 Mon Sep 17 00:00:00 2001 From: Jesse Boyd Date: Sun, 31 Mar 2019 22:36:34 +1100 Subject: [PATCH] Fawe shouldn't default to have any dissallowed blocks --- .../sk89q/worldedit/LocalConfiguration.java | 122 +++++++++--------- 1 file changed, 61 insertions(+), 61 deletions(-) diff --git a/worldedit-core/src/main/java/com/sk89q/worldedit/LocalConfiguration.java b/worldedit-core/src/main/java/com/sk89q/worldedit/LocalConfiguration.java index 7796c852c..d1902be8b 100644 --- a/worldedit-core/src/main/java/com/sk89q/worldedit/LocalConfiguration.java +++ b/worldedit-core/src/main/java/com/sk89q/worldedit/LocalConfiguration.java @@ -76,67 +76,67 @@ public abstract class LocalConfiguration { protected String[] getDefaultDisallowedBlocks() { List blockTypes = Lists.newArrayList( - BlockTypes.OAK_SAPLING, - BlockTypes.JUNGLE_SAPLING, - BlockTypes.DARK_OAK_SAPLING, - BlockTypes.SPRUCE_SAPLING, - BlockTypes.BIRCH_SAPLING, - BlockTypes.ACACIA_SAPLING, - BlockTypes.BLACK_BED, - BlockTypes.BLUE_BED, - BlockTypes.BROWN_BED, - BlockTypes.CYAN_BED, - BlockTypes.GRAY_BED, - BlockTypes.GREEN_BED, - BlockTypes.LIGHT_BLUE_BED, - BlockTypes.LIGHT_GRAY_BED, - BlockTypes.LIME_BED, - BlockTypes.MAGENTA_BED, - BlockTypes.ORANGE_BED, - BlockTypes.PINK_BED, - BlockTypes.PURPLE_BED, - BlockTypes.RED_BED, - BlockTypes.WHITE_BED, - BlockTypes.YELLOW_BED, - BlockTypes.POWERED_RAIL, - BlockTypes.DETECTOR_RAIL, - BlockTypes.GRASS, - BlockTypes.DEAD_BUSH, - BlockTypes.MOVING_PISTON, - BlockTypes.PISTON_HEAD, - BlockTypes.SUNFLOWER, - BlockTypes.ROSE_BUSH, - BlockTypes.DANDELION, - BlockTypes.POPPY, - BlockTypes.BROWN_MUSHROOM, - BlockTypes.RED_MUSHROOM, - BlockTypes.TNT, - BlockTypes.TORCH, - BlockTypes.FIRE, - BlockTypes.REDSTONE_WIRE, - BlockTypes.WHEAT, - BlockTypes.POTATOES, - BlockTypes.CARROTS, - BlockTypes.MELON_STEM, - BlockTypes.PUMPKIN_STEM, - BlockTypes.BEETROOTS, - BlockTypes.RAIL, - BlockTypes.LEVER, - BlockTypes.REDSTONE_TORCH, - BlockTypes.REDSTONE_WALL_TORCH, - BlockTypes.REPEATER, - BlockTypes.COMPARATOR, - BlockTypes.STONE_BUTTON, - BlockTypes.BIRCH_BUTTON, - BlockTypes.ACACIA_BUTTON, - BlockTypes.DARK_OAK_BUTTON, - BlockTypes.JUNGLE_BUTTON, - BlockTypes.OAK_BUTTON, - BlockTypes.SPRUCE_BUTTON, - BlockTypes.CACTUS, - BlockTypes.SUGAR_CANE, - // ores and stuff - BlockTypes.BEDROCK +// BlockTypes.OAK_SAPLING, +// BlockTypes.JUNGLE_SAPLING, +// BlockTypes.DARK_OAK_SAPLING, +// BlockTypes.SPRUCE_SAPLING, +// BlockTypes.BIRCH_SAPLING, +// BlockTypes.ACACIA_SAPLING, +// BlockTypes.BLACK_BED, +// BlockTypes.BLUE_BED, +// BlockTypes.BROWN_BED, +// BlockTypes.CYAN_BED, +// BlockTypes.GRAY_BED, +// BlockTypes.GREEN_BED, +// BlockTypes.LIGHT_BLUE_BED, +// BlockTypes.LIGHT_GRAY_BED, +// BlockTypes.LIME_BED, +// BlockTypes.MAGENTA_BED, +// BlockTypes.ORANGE_BED, +// BlockTypes.PINK_BED, +// BlockTypes.PURPLE_BED, +// BlockTypes.RED_BED, +// BlockTypes.WHITE_BED, +// BlockTypes.YELLOW_BED, +// BlockTypes.POWERED_RAIL, +// BlockTypes.DETECTOR_RAIL, +// BlockTypes.GRASS, +// BlockTypes.DEAD_BUSH, +// BlockTypes.MOVING_PISTON, +// BlockTypes.PISTON_HEAD, +// BlockTypes.SUNFLOWER, +// BlockTypes.ROSE_BUSH, +// BlockTypes.DANDELION, +// BlockTypes.POPPY, +// BlockTypes.BROWN_MUSHROOM, +// BlockTypes.RED_MUSHROOM, +// BlockTypes.TNT, +// BlockTypes.TORCH, +// BlockTypes.FIRE, +// BlockTypes.REDSTONE_WIRE, +// BlockTypes.WHEAT, +// BlockTypes.POTATOES, +// BlockTypes.CARROTS, +// BlockTypes.MELON_STEM, +// BlockTypes.PUMPKIN_STEM, +// BlockTypes.BEETROOTS, +// BlockTypes.RAIL, +// BlockTypes.LEVER, +// BlockTypes.REDSTONE_TORCH, +// BlockTypes.REDSTONE_WALL_TORCH, +// BlockTypes.REPEATER, +// BlockTypes.COMPARATOR, +// BlockTypes.STONE_BUTTON, +// BlockTypes.BIRCH_BUTTON, +// BlockTypes.ACACIA_BUTTON, +// BlockTypes.DARK_OAK_BUTTON, +// BlockTypes.JUNGLE_BUTTON, +// BlockTypes.OAK_BUTTON, +// BlockTypes.SPRUCE_BUTTON, +// BlockTypes.CACTUS, +// BlockTypes.SUGAR_CANE, +// // ores and stuff +// BlockTypes.BEDROCK ); return blockTypes.stream().filter(Objects::nonNull).map(BlockType::getId).toArray(String[]::new); }