Mirror von
https://github.com/IntellectualSites/FastAsyncWorldEdit.git
synchronisiert 2024-09-07 00:22:51 +02:00
Skip registering "custom" biome.
Update adapters to 332c1f6bb17d2ded53fe5b09f3f2a4578f3f9bfc
Dieser Commit ist enthalten in:
Ursprung
3dd943f961
Commit
8e899b8524
@ -320,6 +320,10 @@ public class WorldEditPlugin extends JavaPlugin {
|
||||
} else {
|
||||
LOGGER.warn("Failed to load biomes via adapter (not present). Will load via bukkit");
|
||||
for (Biome biome : Biome.values()) {
|
||||
// Custom is bad
|
||||
if (biome == Biome.CUSTOM) {
|
||||
continue;
|
||||
}
|
||||
String lowerCaseBiome = biome.getKey().toString().toLowerCase(Locale.ROOT);
|
||||
// only register once
|
||||
if (BiomeType.REGISTRY.get(lowerCaseBiome) == null) {
|
||||
|
Binäre Datei nicht angezeigt.
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren