diff --git a/mods/ITEMS/mcl_portals/portal_end.lua b/mods/ITEMS/mcl_portals/portal_end.lua index 55f934a8f4..9e59bbc774 100644 --- a/mods/ITEMS/mcl_portals/portal_end.lua +++ b/mods/ITEMS/mcl_portals/portal_end.lua @@ -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: