From 6009f261c2f36891932bcbd6f267e5745b8d89fc Mon Sep 17 00:00:00 2001 From: Vanessa Dannenberg Date: Wed, 7 Apr 2021 04:55:57 -0400 Subject: [PATCH] make sure that any block about to be scanned is definitely loaded (in case the engine has unloaded the block because the player wandered off for too long) --- init.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/init.lua b/init.lua index b6d8818..d2c8852 100644 --- a/init.lua +++ b/init.lua @@ -472,6 +472,7 @@ function biome_lib.generate_block(shutting_down) if not biome_lib.pos_hash then -- we need to read the maplock and get the surfaces list biome_lib.pos_hash = {} + minetest.load_area(minp) if not confirm_block_surroundings(minp) and not shutting_down then -- if any neighbors appear not to be loaded, skip this block for now