Clean up Biomeset
This commit is contained in:
parent
2253913c7c
commit
a83117b8a9
1 changed files with 2 additions and 2 deletions
|
@ -98,7 +98,7 @@ public class InternalBiomeAPI {
|
||||||
* This method gets called before a world is loaded/created to flush cashes we build.
|
* This method gets called before a world is loaded/created to flush cashes we build.
|
||||||
*/
|
*/
|
||||||
public static void prepareNewLevel() {
|
public static void prepareNewLevel() {
|
||||||
|
BIOMES_TO_SORT.clear();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -254,7 +254,7 @@ public class InternalBiomeAPI {
|
||||||
.register((rawId, id, biome) -> {
|
.register((rawId, id, biome) -> {
|
||||||
BCLBiome b = BiomeAPI.getBiome(id);
|
BCLBiome b = BiomeAPI.getBiome(id);
|
||||||
if (!"minecraft".equals(id.getNamespace()) && (b == null || b == BiomeAPI.EMPTY_BIOME)) {
|
if (!"minecraft".equals(id.getNamespace()) && (b == null || b == BiomeAPI.EMPTY_BIOME)) {
|
||||||
//BCLib.LOGGER.info(" #### " + rawId + ", " + biome + ", " + id);
|
BCLib.LOGGER.info(" #### " + rawId + ", " + biome + ", " + id);
|
||||||
BIOMES_TO_SORT.add(id);
|
BIOMES_TO_SORT.add(id);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue