Update formula for computing void_regen_max_y

This commit is contained in:
Elias Åström 2023-06-17 22:51:58 +02:00 committed by cora
parent f243f6a5dc
commit c339fe1e7c

View File

@ -252,7 +252,7 @@ if mcl_vars.mg_overworld_min_old ~= mcl_vars.mg_overworld_min then
end
local void_regen_min_y = mcl_vars.mg_overworld_min
local void_regen_max_y = math.floor(mcl_vars.mg_overworld_min_old / 16 - 1) * 16 - 1
local void_regen_max_y = math.floor(mcl_vars.mg_overworld_min_old / (5 * 16)) * (5 * 16) - 1
local bedrock_regen_min_y = void_regen_max_y + 1
local bedrock_regen_max_y = mcl_vars.mg_overworld_min_old + 4