1
0
Fork 0

Update banner comment

This commit is contained in:
Wuzzy 2019-03-01 18:32:10 +01:00
parent 477aa07822
commit d367a8dbad
1 changed files with 2 additions and 2 deletions

View File

@ -390,8 +390,8 @@ local banner_pattern_craft = function(itemstack, player, old_craft_grid, craft_i
return ItemStack("") return ItemStack("")
end end
-- Lower layer limit when banner includes any gradient. -- Lower layer limit when banner includes any gradient.
-- Workaround to circumvent bug #340 (gradients are likely to cause transparent pixels). -- Workaround to circumvent Minetest bug (https://github.com/minetest/minetest/issues/6210)
-- FIXME: Remove this restriction when bug #340 is fixed. -- TODO: Remove this restriction when bug #6210 is fixed.
if #layers >= max_layers_gradient then if #layers >= max_layers_gradient then
for l=1, #layers do for l=1, #layers do
if layers[l].pattern == "gradient" or layers[l].pattern == "gradient_up" then if layers[l].pattern == "gradient" or layers[l].pattern == "gradient_up" then