mirror of
				https://github.com/luanti-org/luanti.git
				synced 2025-11-04 09:15:29 +01:00 
			
		
		
		
	Builtin: Fix handle_node_drops crash with nil digger
This commit is contained in:
		@@ -516,7 +516,8 @@ function core.handle_node_drops(pos, drops, digger)
 | 
			
		||||
		end
 | 
			
		||||
	else
 | 
			
		||||
		give_item = function(item)
 | 
			
		||||
			return item
 | 
			
		||||
			-- itemstring to ItemStack for left:is_empty()
 | 
			
		||||
			return ItemStack(item)
 | 
			
		||||
		end
 | 
			
		||||
	end
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user