Mirror von
https://github.com/IntellectualSites/FastAsyncWorldEdit.git
synchronisiert 2024-11-03 01:50:07 +01: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 {
|
} else {
|
||||||
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
|
||||||
|
if (biome == Biome.CUSTOM) {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
String lowerCaseBiome = biome.getKey().toString().toLowerCase(Locale.ROOT);
|
String lowerCaseBiome = biome.getKey().toString().toLowerCase(Locale.ROOT);
|
||||||
// only register once
|
// only register once
|
||||||
if (BiomeType.REGISTRY.get(lowerCaseBiome) == null) {
|
if (BiomeType.REGISTRY.get(lowerCaseBiome) == null) {
|
||||||
|
Binäre Datei nicht angezeigt.
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren