mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-29 22:11:10 +01:00
Tweak end portal compat code
This commit is contained in:
parent
fc17303b1e
commit
8982dd82ca
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue