forked from nalc/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:
parent
2c8a91c362
commit
bae93a8ba9
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user