[Fix] Make sure WorldPresets are loaded with corresponding Mod-Data (#20)

This commit is contained in:
Frank 2022-07-09 04:22:25 +02:00
parent e7df54bb5b
commit 72e8d8ff0f
5 changed files with 138 additions and 60 deletions

View file

@ -362,10 +362,10 @@ public class InternalBiomeAPI {
.register((rawId, id, biome) -> {
BCLBiome b = BiomeAPI.getBiome(id);
if (!"minecraft".equals(id.getNamespace()) && (b == null || b == BCLBiomeRegistry.EMPTY_BIOME)) {
BCLib.LOGGER.info(" #### " + rawId + ", " + biome + ", " + id);
BIOMES_TO_SORT.add(id);
BIOME_ADDITIONS.computeIfAbsent(oBiomeRegistry.get(), reg -> new AtomicInteger(0))
.incrementAndGet();
//BCLib.LOGGER.info(" #### " + rawId + ", " + biome + ", " + id);
//BIOMES_TO_SORT.add(id);
// BIOME_ADDITIONS.computeIfAbsent(oBiomeRegistry.get(), reg -> new AtomicInteger(0))
// .incrementAndGet();
}
});
});