mirror of
https://github.com/minetest/minetest_game.git
synced 2024-12-22 15:00:18 +01:00
Fix not updating vessel shelf infotext
This commit is contained in:
parent
b58991d4f3
commit
601ec6cd94
@ -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…
Reference in New Issue
Block a user