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:
fairiestoy 2013-09-13 18:21:13 +02:00
parent 2c8a91c362
commit bae93a8ba9

View File

@ -153,13 +153,13 @@ homedecor_register_slope = function(modname, subname, recipeitem, groups, images
minetest.register_craft({ minetest.register_craft({
type = "shapeless", type = "shapeless",
output = recipeitem.." 3", output = recipeitem.." 1",
recipe = { modname..":shingle_outer_corner_"..subname } recipe = { modname..":shingle_outer_corner_"..subname }
}) })
minetest.register_craft({ minetest.register_craft({
type = "shapeless", type = "shapeless",
output = recipeitem.." 3", output = recipeitem.." 1",
recipe = { modname..":shingle_inner_corner_"..subname } recipe = { modname..":shingle_inner_corner_"..subname }
}) })
end end