diff --git a/mods/ITEMS/mcl_banners/patterncraft.lua b/mods/ITEMS/mcl_banners/patterncraft.lua index f347b8bea..f246264ea 100644 --- a/mods/ITEMS/mcl_banners/patterncraft.lua +++ b/mods/ITEMS/mcl_banners/patterncraft.lua @@ -2,10 +2,6 @@ -- emblazonings you can put on the banners. It's quite complicated; -- normal 08/15 crafting won't work here. --- Number of maximum lines in the descriptions for the banner layers. --- To avoid huge tooltips. -local max_layer_lines = 6 - -- Maximum number of layers which can be put on a banner by crafting. local max_layers_crafting = 6 diff --git a/mods/ITEMS/mcl_banners/shared.lua b/mods/ITEMS/mcl_banners/shared.lua index 3846bb835..de1cf0c71 100644 --- a/mods/ITEMS/mcl_banners/shared.lua +++ b/mods/ITEMS/mcl_banners/shared.lua @@ -24,6 +24,10 @@ mcl_banners.colors = { ["unicolor_light_blue"] = {"light_blue", "Light Blue Banner", "mcl_wool:light_blue", "#4040CF", "mcl_dye:lightblue", "Light Blue" }, } +-- Max. number lines in the descriptions for the banner layers. +-- This is done to avoid huge tooltips. +local max_layer_lines = 6 + -- Returns a banner description containing all the layer names. -- description: Base description (from item definition) -- layers: Table of layers