mirror of
https://git.minetest.land/Mineclonia/Mineclonia.git
synced 2024-11-14 15:45:09 +00:00
Fix exit portal teleporting back in flat mapgen
This commit is contained in:
parent
7c15d5f9ac
commit
3abf2355e6
1 changed files with 3 additions and 0 deletions
|
@ -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 a new issue