forked from luanti-org/minetest_game
		
	Fix not updating vessel shelf infotext
This commit is contained in:
		@@ -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)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user