Skip to content

Commit

Permalink
Fix Biome ABI break
Browse files Browse the repository at this point in the history
  • Loading branch information
SirYwell committed Nov 6, 2024
1 parent 7218e98 commit b9a543f
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@

import java.util.ArrayList;
import java.util.Arrays;
import java.util.EnumSet;
import java.util.HashSet;
import java.util.List;
import java.util.Random;
import java.util.Set;
Expand Down Expand Up @@ -445,7 +445,7 @@ private final class BukkitPlotBiomeProvider extends BiomeProvider {
private static final List<Biome> BIOMES;

static {
Set<Biome> disabledBiomes = EnumSet.of(Biome.CUSTOM);
Set<Biome> disabledBiomes = new HashSet<>(List.of(Biome.CUSTOM));
if (PlotSquared.platform().serverVersion()[1] <= 19) {
final Biome cherryGrove = Registry.BIOME.get(NamespacedKey.minecraft("cherry_grove"));
if (cherryGrove != null) {
Expand Down

0 comments on commit b9a543f

Please sign in to comment.