diff --git a/mods/vessels/init.lua b/mods/vessels/init.lua index 4bd0fb4d01..77cf98b9bd 100644 --- a/mods/vessels/init.lua +++ b/mods/vessels/init.lua @@ -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)