Mirror von
https://github.com/IntellectualSites/FastAsyncWorldEdit.git
synchronisiert 2024-09-07 00:22:51 +02:00
Avoid paper-only method
Dieser Commit ist enthalten in:
Ursprung
cf68caff99
Commit
3dd943f961
@ -320,7 +320,7 @@ 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()) {
|
||||
String lowerCaseBiome = biome.getKey().namespace().toLowerCase(Locale.ROOT) + ":" + biome.name().toLowerCase(Locale.ROOT);
|
||||
String lowerCaseBiome = biome.getKey().toString().toLowerCase(Locale.ROOT);
|
||||
// only register once
|
||||
if (BiomeType.REGISTRY.get(lowerCaseBiome) == null) {
|
||||
BiomeType.REGISTRY.register(lowerCaseBiome, new BiomeType(lowerCaseBiome));
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren