Fixed height of end portal shrines in flat worlds
This commit is contained in:
parent
0290511578
commit
7d00c008d0
|
@ -46,7 +46,7 @@ local init_strongholds = function()
|
||||||
local dist = pr:next(ring.min, ring.max)
|
local dist = pr:next(ring.min, ring.max)
|
||||||
local y
|
local y
|
||||||
if mg_name == "flat" then
|
if mg_name == "flat" then
|
||||||
y = mcl_vars.mg_bedrock_overworld_max + pr:next(1, 4)
|
y = mcl_vars.mg_bedrock_overworld_max + 3
|
||||||
else
|
else
|
||||||
y = pr:next(mcl_vars.mg_bedrock_overworld_max+1, mcl_vars.mg_overworld_min+48)
|
y = pr:next(mcl_vars.mg_bedrock_overworld_max+1, mcl_vars.mg_overworld_min+48)
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue
Block a user