From ae63d0724fb7cd4801ac411a8389b1c751e41736 Mon Sep 17 00:00:00 2001 From: SirYwell Date: Mon, 12 Jun 2023 17:10:45 +0200 Subject: [PATCH] Drop CUSTOM from biome list --- .../com/plotsquared/bukkit/generator/BukkitPlotGenerator.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Bukkit/src/main/java/com/plotsquared/bukkit/generator/BukkitPlotGenerator.java b/Bukkit/src/main/java/com/plotsquared/bukkit/generator/BukkitPlotGenerator.java index da97ac621..a17032cc5 100644 --- a/Bukkit/src/main/java/com/plotsquared/bukkit/generator/BukkitPlotGenerator.java +++ b/Bukkit/src/main/java/com/plotsquared/bukkit/generator/BukkitPlotGenerator.java @@ -53,7 +53,6 @@ import java.util.Arrays; import java.util.List; import java.util.Random; import java.util.Set; -import java.util.stream.Collectors; public class BukkitPlotGenerator extends ChunkGenerator implements GeneratorWrapper { @@ -439,7 +438,8 @@ public class BukkitPlotGenerator extends ChunkGenerator implements GeneratorWrap static { BIOMES = Arrays.stream(Biome.values()) .filter(b -> Registry.BIOME.get(b.getKey()) != null) - .collect(Collectors.toList()); + .filter(b -> b != Biome.CUSTOM) + .toList(); } @Override