forked from Mineclonia/Mineclonia
Remove wrong preview banner crafting recipes
In commit ac5f115f83
, preview banners were introduced and given
crafting recipes. Those crafting recipes were the same as for banners without a pattern. That
change made banners without patterns uncraftable and preview banners craftable instead – this
patch makes banners without patterns craftable again and preview banners uncraftable.
This commit is contained in:
parent
150868f03b
commit
ee9f49b86e
|
@ -568,7 +568,7 @@ for colorid, colortab in pairs(mcl_banners.colors) do
|
||||||
end,
|
end,
|
||||||
})
|
})
|
||||||
|
|
||||||
if minetest.get_modpath("mcl_core") and minetest.get_modpath("mcl_wool") then
|
if minetest.get_modpath("mcl_core") and minetest.get_modpath("mcl_wool") and pattern_name == "" then
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
output = itemstring,
|
output = itemstring,
|
||||||
recipe = {
|
recipe = {
|
||||||
|
|
Loading…
Reference in New Issue