Do not regenerate mapchunks above bedrock layer
This commit is contained in:
parent
b46ab473b6
commit
f243f6a5dc
@ -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
|
||||
local void_regen_max_y = math.floor(mcl_vars.mg_overworld_min_old / 16 - 1) * 16 - 1
|
||||
local bedrock_regen_min_y = void_regen_max_y + 1
|
||||
local bedrock_regen_max_y = mcl_vars.mg_overworld_min_old + 4
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user