3
0
Mirror von https://github.com/IntellectualSites/FastAsyncWorldEdit.git synchronisiert 2024-11-09 13:00:05 +01:00

Fawe shouldn't default to have any dissallowed blocks

Dieser Commit ist enthalten in:
Jesse Boyd 2019-03-31 22:36:34 +11:00
Ursprung b09eeb587a
Commit 7b5230ad08
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: 59F1DE6293AF6E1F

Datei anzeigen

@ -76,67 +76,67 @@ public abstract class LocalConfiguration {
protected String[] getDefaultDisallowedBlocks() { protected String[] getDefaultDisallowedBlocks() {
List<BlockType> blockTypes = Lists.newArrayList( List<BlockType> blockTypes = Lists.newArrayList(
BlockTypes.OAK_SAPLING, // BlockTypes.OAK_SAPLING,
BlockTypes.JUNGLE_SAPLING, // BlockTypes.JUNGLE_SAPLING,
BlockTypes.DARK_OAK_SAPLING, // BlockTypes.DARK_OAK_SAPLING,
BlockTypes.SPRUCE_SAPLING, // BlockTypes.SPRUCE_SAPLING,
BlockTypes.BIRCH_SAPLING, // BlockTypes.BIRCH_SAPLING,
BlockTypes.ACACIA_SAPLING, // BlockTypes.ACACIA_SAPLING,
BlockTypes.BLACK_BED, // BlockTypes.BLACK_BED,
BlockTypes.BLUE_BED, // BlockTypes.BLUE_BED,
BlockTypes.BROWN_BED, // BlockTypes.BROWN_BED,
BlockTypes.CYAN_BED, // BlockTypes.CYAN_BED,
BlockTypes.GRAY_BED, // BlockTypes.GRAY_BED,
BlockTypes.GREEN_BED, // BlockTypes.GREEN_BED,
BlockTypes.LIGHT_BLUE_BED, // BlockTypes.LIGHT_BLUE_BED,
BlockTypes.LIGHT_GRAY_BED, // BlockTypes.LIGHT_GRAY_BED,
BlockTypes.LIME_BED, // BlockTypes.LIME_BED,
BlockTypes.MAGENTA_BED, // BlockTypes.MAGENTA_BED,
BlockTypes.ORANGE_BED, // BlockTypes.ORANGE_BED,
BlockTypes.PINK_BED, // BlockTypes.PINK_BED,
BlockTypes.PURPLE_BED, // BlockTypes.PURPLE_BED,
BlockTypes.RED_BED, // BlockTypes.RED_BED,
BlockTypes.WHITE_BED, // BlockTypes.WHITE_BED,
BlockTypes.YELLOW_BED, // BlockTypes.YELLOW_BED,
BlockTypes.POWERED_RAIL, // BlockTypes.POWERED_RAIL,
BlockTypes.DETECTOR_RAIL, // BlockTypes.DETECTOR_RAIL,
BlockTypes.GRASS, // BlockTypes.GRASS,
BlockTypes.DEAD_BUSH, // BlockTypes.DEAD_BUSH,
BlockTypes.MOVING_PISTON, // BlockTypes.MOVING_PISTON,
BlockTypes.PISTON_HEAD, // BlockTypes.PISTON_HEAD,
BlockTypes.SUNFLOWER, // BlockTypes.SUNFLOWER,
BlockTypes.ROSE_BUSH, // BlockTypes.ROSE_BUSH,
BlockTypes.DANDELION, // BlockTypes.DANDELION,
BlockTypes.POPPY, // BlockTypes.POPPY,
BlockTypes.BROWN_MUSHROOM, // BlockTypes.BROWN_MUSHROOM,
BlockTypes.RED_MUSHROOM, // BlockTypes.RED_MUSHROOM,
BlockTypes.TNT, // BlockTypes.TNT,
BlockTypes.TORCH, // BlockTypes.TORCH,
BlockTypes.FIRE, // BlockTypes.FIRE,
BlockTypes.REDSTONE_WIRE, // BlockTypes.REDSTONE_WIRE,
BlockTypes.WHEAT, // BlockTypes.WHEAT,
BlockTypes.POTATOES, // BlockTypes.POTATOES,
BlockTypes.CARROTS, // BlockTypes.CARROTS,
BlockTypes.MELON_STEM, // BlockTypes.MELON_STEM,
BlockTypes.PUMPKIN_STEM, // BlockTypes.PUMPKIN_STEM,
BlockTypes.BEETROOTS, // BlockTypes.BEETROOTS,
BlockTypes.RAIL, // BlockTypes.RAIL,
BlockTypes.LEVER, // BlockTypes.LEVER,
BlockTypes.REDSTONE_TORCH, // BlockTypes.REDSTONE_TORCH,
BlockTypes.REDSTONE_WALL_TORCH, // BlockTypes.REDSTONE_WALL_TORCH,
BlockTypes.REPEATER, // BlockTypes.REPEATER,
BlockTypes.COMPARATOR, // BlockTypes.COMPARATOR,
BlockTypes.STONE_BUTTON, // BlockTypes.STONE_BUTTON,
BlockTypes.BIRCH_BUTTON, // BlockTypes.BIRCH_BUTTON,
BlockTypes.ACACIA_BUTTON, // BlockTypes.ACACIA_BUTTON,
BlockTypes.DARK_OAK_BUTTON, // BlockTypes.DARK_OAK_BUTTON,
BlockTypes.JUNGLE_BUTTON, // BlockTypes.JUNGLE_BUTTON,
BlockTypes.OAK_BUTTON, // BlockTypes.OAK_BUTTON,
BlockTypes.SPRUCE_BUTTON, // BlockTypes.SPRUCE_BUTTON,
BlockTypes.CACTUS, // BlockTypes.CACTUS,
BlockTypes.SUGAR_CANE, // BlockTypes.SUGAR_CANE,
// ores and stuff // // ores and stuff
BlockTypes.BEDROCK // BlockTypes.BEDROCK
); );
return blockTypes.stream().filter(Objects::nonNull).map(BlockType::getId).toArray(String[]::new); return blockTypes.stream().filter(Objects::nonNull).map(BlockType::getId).toArray(String[]::new);
} }