mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2024-12-26 03:07:32 +01:00
Respawn itemframe entities on load
This commit is contained in:
parent
198adcc740
commit
eb7c8371ac
@ -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")
|
||||||
|
Loading…
Reference in New Issue
Block a user