mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2024-11-28 13:53:45 +01:00
[mcl_banners] fix some warnings
This commit is contained in:
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
|
||||||
|
Loading…
Reference in New Issue
Block a user