forked from mtcontrib/hangglider
parent
f4a297eb30
commit
2c708abd88
@ -25,7 +25,7 @@ local function get_dye_color(name)
|
|||||||
color = unifieddyes.get_color_from_dye_name(name)
|
color = unifieddyes.get_color_from_dye_name(name)
|
||||||
end
|
end
|
||||||
if not color then
|
if not color then
|
||||||
color = string.match(name, "^dye:(%w+)$")
|
color = string.match(name, "^dye:(.+)$")
|
||||||
if color then
|
if color then
|
||||||
color = dye_colors[color]
|
color = dye_colors[color]
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user