From 739d90f0b80e07a7bd0269f2699edbfc79154d36 Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Sat, 29 Jul 2017 01:20:17 +0200 Subject: [PATCH] Fix crash when trying to craft banner --- mods/ITEMS/mcl_banners/patterncraft.lua | 4 ---- mods/ITEMS/mcl_banners/shared.lua | 4 ++++ 2 files changed, 4 insertions(+), 4 deletions(-) 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