mirror of
				https://github.com/luanti-org/minetest_game.git
				synced 2025-11-04 01:05:49 +01:00 
			
		
		
		
	Start timer as well when moving items around.
It's possible to hit this when using an e.g. charcoal mod where a tree is both a fuel and a source.
This commit is contained in:
		@@ -251,6 +251,10 @@ minetest.register_node("default:furnace", {
 | 
			
		||||
		inv:set_size('dst', 4)
 | 
			
		||||
	end,
 | 
			
		||||
 | 
			
		||||
	on_metadata_inventory_move = function(pos)
 | 
			
		||||
		local timer = minetest.get_node_timer(pos)
 | 
			
		||||
		timer:start(1.0)
 | 
			
		||||
	end,
 | 
			
		||||
	on_metadata_inventory_put = function(pos)
 | 
			
		||||
		-- start timer function, it will sort out whether furnace can burn or not.
 | 
			
		||||
		local timer = minetest.get_node_timer(pos)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user