forked from Mineclonia/Mineclonia
Fix crash when trying to craft banner
This commit is contained in:
parent
51bcfc4f1c
commit
739d90f0b8
|
@ -2,10 +2,6 @@
|
||||||
-- emblazonings you can put on the banners. It's quite complicated;
|
-- emblazonings you can put on the banners. It's quite complicated;
|
||||||
-- normal 08/15 crafting won't work here.
|
-- 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.
|
-- Maximum number of layers which can be put on a banner by crafting.
|
||||||
local max_layers_crafting = 6
|
local max_layers_crafting = 6
|
||||||
|
|
||||||
|
|
|
@ -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" },
|
["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.
|
-- Returns a banner description containing all the layer names.
|
||||||
-- description: Base description (from item definition)
|
-- description: Base description (from item definition)
|
||||||
-- layers: Table of layers
|
-- layers: Table of layers
|
||||||
|
|
Loading…
Reference in New Issue