mirror of
				https://github.com/luanti-org/minetest_game.git
				synced 2025-11-04 01:05:49 +01:00 
			
		
		
		
	Craftguide: Fix error caused by removing invalid recipes (#2732)
This commit is contained in:
		@@ -431,7 +431,7 @@ function default.register_mesepost(name, def)
 | 
			
		||||
		recipe = {
 | 
			
		||||
			{'', 'default:glass', ''},
 | 
			
		||||
			{'default:mese_crystal', 'default:mese_crystal', 'default:mese_crystal'},
 | 
			
		||||
			{' ', def.material, ''},
 | 
			
		||||
			{'', def.material, ''},
 | 
			
		||||
		}
 | 
			
		||||
	})
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -111,7 +111,9 @@ local function get_craftable_recipes(output)
 | 
			
		||||
		end
 | 
			
		||||
	end
 | 
			
		||||
 | 
			
		||||
	return recipes
 | 
			
		||||
	if #recipes > 0 then
 | 
			
		||||
		return recipes
 | 
			
		||||
	end
 | 
			
		||||
end
 | 
			
		||||
 | 
			
		||||
local function show_item(def)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user