Fix ChunkBiomeLookup leaking a worldgen region

This commit is contained in:
embeddedt 2026-03-28 21:45:59 -04:00
parent 4ff7d4c554
commit dc3c379049
No known key found for this signature in database
GPG Key ID: A69433EC199B5613

View File

@ -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) {