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:
Nils Dagsson Moskopp 2021-05-02 12:57:09 +02:00
parent 150868f03b
commit ee9f49b86e
Signed by: erle
GPG Key ID: A3BC671C35191080
1 changed files with 1 additions and 1 deletions

View File

@ -568,7 +568,7 @@ for colorid, colortab in pairs(mcl_banners.colors) do
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({
output = itemstring,
recipe = {