Fix crash when trying to craft banner

This commit is contained in:
Wuzzy 2017-07-29 01:20:17 +02:00
parent 51bcfc4f1c
commit 739d90f0b8
2 changed files with 4 additions and 4 deletions

View file

@ -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

View file

@ -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