exit conversion LBM gracefully if brick color can't be looked up

This commit is contained in:
Vanessa Dannenberg 2018-05-12 08:57:39 -04:00
parent d77d445edf
commit 49ded63965
1 changed files with 1 additions and 0 deletions

View File

@ -311,6 +311,7 @@ minetest.register_lbm({
if color2 == "_grey" then color2 = "grey" end
local paletteidx, hue = unifieddyes.getpaletteidx("unifieddyes:"..color2, "extended")
if not paletteidx or not hue then return end
if string.find(type, "multicolor") then