mirror of
https://github.com/mt-mods/plantlife_modpack.git
synced 2025-06-28 06:11:53 +02:00
free the block cache memory after using it (fix mem leak)
This commit is contained in:
@ -250,6 +250,7 @@ function plantslib:generate_block(minp, maxp, blockseed)
|
||||
end
|
||||
end
|
||||
end
|
||||
plantslib.surface_nodes.blockhash = nil -- nuke the block cache after using it (prevent a mem leak).
|
||||
end
|
||||
end
|
||||
|
||||
|
Reference in New Issue
Block a user