summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--unifiedbricks/init.lua1
1 files changed, 1 insertions, 0 deletions
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