Fix exit portal teleporting back in flat mapgen
parent
7c15d5f9ac
commit
3abf2355e6
|
@ -288,6 +288,9 @@ minetest.register_abm({
|
|||
end
|
||||
if not target then
|
||||
target = { x=0, y=0, z=0 }
|
||||
if mg_name == "flat" then
|
||||
target.y = mcl_vars.mg_bedrock_overworld_max + 5
|
||||
end
|
||||
end
|
||||
else
|
||||
-- End portal in any other dimension:
|
||||
|
|
Loading…
Reference in New Issue