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() {
List<BlockType> 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);
}