forked from mtcontrib/homedecor_modpack
		
	Fixed duplication bug
Fixed a little bug within the recipe registration which causes to duplicate shingles when crafted from slopes.
This commit is contained in:
		@@ -153,13 +153,13 @@ homedecor_register_slope = function(modname, subname, recipeitem, groups, images
 | 
			
		||||
 | 
			
		||||
	minetest.register_craft({
 | 
			
		||||
		type = "shapeless",
 | 
			
		||||
		output = recipeitem.." 3",
 | 
			
		||||
		output = recipeitem.." 1",
 | 
			
		||||
		recipe = { modname..":shingle_outer_corner_"..subname }
 | 
			
		||||
	})
 | 
			
		||||
 | 
			
		||||
	minetest.register_craft({
 | 
			
		||||
		type = "shapeless",
 | 
			
		||||
		output = recipeitem.." 3",
 | 
			
		||||
		output = recipeitem.." 1",
 | 
			
		||||
		recipe = { modname..":shingle_inner_corner_"..subname }
 | 
			
		||||
	})
 | 
			
		||||
end
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user