mirror of
https://github.com/luanti-org/minetest_game.git
synced 2025-03-15 04:11:24 +00:00
Fix not updating vessel shelf infotext
This commit is contained in:
parent
b58991d4f3
commit
601ec6cd94
1 changed files with 9 additions and 0 deletions
|
@ -81,6 +81,15 @@ local vessels_shelf_def = {
|
|||
minetest.remove_node(pos)
|
||||
return drops
|
||||
end,
|
||||
on_metadata_inventory_put = function(pos)
|
||||
update_vessels_shelf(pos)
|
||||
end,
|
||||
on_metadata_inventory_take = function(pos)
|
||||
update_vessels_shelf(pos)
|
||||
end,
|
||||
on_metadata_inventory_move = function(pos)
|
||||
update_vessels_shelf(pos)
|
||||
end,
|
||||
}
|
||||
default.set_inventory_action_loggers(vessels_shelf_def, "vessels shelf")
|
||||
minetest.register_node("vessels:shelf", vessels_shelf_def)
|
||||
|
|
Loading…
Add table
Reference in a new issue