[mcl_banners] fix some warnings

This commit is contained in:
AFCMS 2021-05-23 10:59:07 +02:00
parent 8f6a97eefe
commit 4bc473bc29

@ -426,7 +426,6 @@ local banner_pattern_craft = function(itemstack, player, old_craft_grid, craft_i
if (pitem == d and minetest.get_item_group(itemname, "dye") == 0) or (pitem == e and itemname ~= e and inv_i ~= banner_index) then if (pitem == d and minetest.get_item_group(itemname, "dye") == 0) or (pitem == e and itemname ~= e and inv_i ~= banner_index) then
pattern_ok = false pattern_ok = false
break break
else
end end
inv_i = inv_i + 1 inv_i = inv_i + 1
if inv_i > max_i then if inv_i > max_i then