mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-12-18 22:39:33 +01:00
Respawn itemframe entities on load
This commit is contained in:
parent
198adcc740
commit
eb7c8371ac
1 changed files with 10 additions and 0 deletions
|
@ -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")
|
||||
|
|
Loading…
Reference in a new issue