Skip to content

Commit dc3c379

Browse files
committed
Fix ChunkBiomeLookup leaking a worldgen region
1 parent 4ff7d4c commit dc3c379

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/main/java/org/embeddedt/modernfix/world/gen/ChunkBiomeLookup.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,7 @@ public void prepare(BiomeManager.NoiseBiomeSource source, long biomeZoomSeed, Ch
9999
public void dispose() {
100100
// Make sure we do not retain strong references to the biome holders
101101
Arrays.fill(biomes, null);
102+
this.fallbackManager = null;
102103
}
103104

104105
private boolean fetchBiomes(BiomeManager.NoiseBiomeSource source) {

0 commit comments

Comments
 (0)