Registry fixes and debug

This commit is contained in:
paulevsGitch 2020-11-13 20:23:43 +03:00
parent b7afcf1ca5
commit 8bdfbb65fa
3 changed files with 24 additions and 2 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)) {
if (!ID_MAP.containsKey(id) && !LAND_BIOMES.containsImmutable(id) && !VOID_BIOMES.containsImmutable(id)) {
JsonObject config = configs.get(id.getNamespace());
if (config == null) {
config = loadJsonConfig(id.getNamespace());
@ -109,6 +109,9 @@ public class EndBiomes {
}
});
System.out.println("Land");
LAND_BIOMES.debug();
CLIENT.clear();
}