mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-23 01:37:37 +00:00
Skip registering "custom" biome.
Update adapters to 332c1f6bb17d2ded53fe5b09f3f2a4578f3f9bfc
This commit is contained in:
parent
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) {
|
||||||
|
Binary file not shown.
Loading…
Reference in New Issue
Block a user