Respawn itemframe entities on load

This commit is contained in:
Wuzzy 2019-02-18 21:58:31 +01:00
parent 198adcc740
commit eb7c8371ac
1 changed files with 10 additions and 0 deletions

View File

@ -221,4 +221,14 @@ minetest.register_lbm({
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")