From 8982dd82ca1d813d8a06388eb26d70c0507f9d4f Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Tue, 21 Nov 2017 07:26:45 +0100 Subject: [PATCH] Tweak end portal compat code --- mods/ITEMS/mcl_portals/portal_end.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mods/ITEMS/mcl_portals/portal_end.lua b/mods/ITEMS/mcl_portals/portal_end.lua index 834c7e2850..22601f45fc 100644 --- a/mods/ITEMS/mcl_portals/portal_end.lua +++ b/mods/ITEMS/mcl_portals/portal_end.lua @@ -265,7 +265,7 @@ minetest.register_abm({ -- We can tell if a end portal is legacy if it has portal_target as metadata. -- FIXME: Remove this after some time. local meta = minetest.get_meta(pos) - local legacy_portal_target = minetest.string_to_pos(meta:get_string("portal_target")) + local legacy_portal_target = meta:get_string("portal_frame1") if legacy_portal_target and legacy_portal_target ~= "" then minetest.set_node(pos, {name="mcl_core:cobweb"}) return