Biome generator fix

This commit is contained in:
paulevsGitch 2020-11-13 20:43:22 +03:00
parent 8bdfbb65fa
commit 24c501ce13
6 changed files with 5 additions and 20 deletions

View file

@ -81,7 +81,7 @@ public class EndBiomes {
biomeRegistry.forEach((biome) -> {
if (biome.getCategory() == Category.THEEND) {
Identifier id = biomeRegistry.getId(biome);
if (!ID_MAP.containsKey(id) && !LAND_BIOMES.containsImmutable(id) && !VOID_BIOMES.containsImmutable(id)) {
if (!LAND_BIOMES.containsImmutable(id) && !VOID_BIOMES.containsImmutable(id)) {
JsonObject config = configs.get(id.getNamespace());
if (config == null) {
config = loadJsonConfig(id.getNamespace());
@ -97,7 +97,6 @@ public class EndBiomes {
isVoid = JsonFactory.getString(element.getAsJsonObject(), "type", "land").equals("void");
}
EndBiome endBiome = new EndBiome(id, biome, fog, chance);
System.out.println("Adding: " + id + " " + chance);
if (isVoid) {
VOID_BIOMES.addBiomeMutable(endBiome);
}
@ -109,9 +108,6 @@ public class EndBiomes {
}
});
System.out.println("Land");
LAND_BIOMES.debug();
CLIENT.clear();
}