mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2024-12-25 19:02:26 +01:00
Tweak end portal compat code
This commit is contained in:
parent
fc17303b1e
commit
8982dd82ca
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user