mirror of
				https://github.com/minetest-mods/craftguide.git
				synced 2025-11-04 06:55:30 +01:00 
			
		
		
		
	Fix crash in progressive mode
This commit is contained in:
		
							
								
								
									
										3
									
								
								init.lua
									
									
									
									
									
								
							
							
						
						
									
										3
									
								
								init.lua
									
									
									
									
									
								
							@@ -1614,7 +1614,8 @@ local function fields(player, _f)
 | 
			
		||||
		end
 | 
			
		||||
 | 
			
		||||
		local recipes, usages = get_recipes(item, data, player)
 | 
			
		||||
		if not recipes and not usages then return end
 | 
			
		||||
		if not recipes and not usages      then return end
 | 
			
		||||
		if data.show_usages and not usages then return end
 | 
			
		||||
 | 
			
		||||
		data.query_item = item
 | 
			
		||||
		data.recipes    = recipes
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user