Skip checking for custom biomes on 1.15.2

Dieser Commit ist enthalten in:
NotMyFault 2021-08-23 21:15:41 +02:00
Ursprung 1a0f7df3f4
Commit 869a8058cc
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: 158F5701A6AAD00C

Datei anzeigen

@ -321,7 +321,7 @@ public class WorldEditPlugin extends JavaPlugin {
LOGGER.warn("Failed to load biomes via adapter (not present). Will load via bukkit"); LOGGER.warn("Failed to load biomes via adapter (not present). Will load via bukkit");
for (Biome biome : Biome.values()) { for (Biome biome : Biome.values()) {
// Custom is bad // Custom is bad
if (biome == Biome.CUSTOM) { if (biome.name().equals("CUSTOM")) {
continue; continue;
} }
String lowerCaseBiome = biome.getKey().toString().toLowerCase(Locale.ROOT); String lowerCaseBiome = biome.getKey().toString().toLowerCase(Locale.ROOT);