From 6e95dd30cf8369102d1ce55d6549815ab9d31104 Mon Sep 17 00:00:00 2001 From: Vanessa Dannenberg Date: Sat, 12 May 2018 08:58:23 -0400 Subject: update unifiedbricks --- unifiedbricks/init.lua | 1 + 1 file changed, 1 insertion(+) (limited to 'unifiedbricks') diff --git a/unifiedbricks/init.lua b/unifiedbricks/init.lua index b061bb2..7e6e3d0 100644 --- a/unifiedbricks/init.lua +++ b/unifiedbricks/init.lua @@ -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 -- cgit v1.2.3