Respawn itemframe entities on load

This commit is contained in:
Wuzzy 2019-02-18 21:58:31 +01:00
parent 198adcc740
commit eb7c8371ac

View file

@ -221,4 +221,14 @@ minetest.register_lbm({
end, end,
}) })
minetest.register_lbm({
label = "Respawn item frame item entities",
name = "mcl_itemframes:respawn_entities",
nodenames = {"mcl_itemframes:item_frame"},
run_at_every_load = true,
action = function(pos, node)
update_item_entity(pos, node)
end,
})
minetest.register_alias("itemframes:frame", "mcl_itemframes:item_frame") minetest.register_alias("itemframes:frame", "mcl_itemframes:item_frame")