mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-16 16:11:06 +01:00
Update banner comment
This commit is contained in:
parent
477aa07822
commit
d367a8dbad
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue