Fix ChunkBiomeLookup leaking a worldgen region
This commit is contained in:
parent
4ff7d4c554
commit
dc3c379049
|
|
@ -99,6 +99,7 @@ public class ChunkBiomeLookup implements Function<BlockPos, Holder<Biome>> {
|
|||
public void dispose() {
|
||||
// Make sure we do not retain strong references to the biome holders
|
||||
Arrays.fill(biomes, null);
|
||||
this.fallbackManager = null;
|
||||
}
|
||||
|
||||
private boolean fetchBiomes(BiomeManager.NoiseBiomeSource source) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user