summaryrefslogtreecommitdiff
path: root/init.lua
diff options
context:
space:
mode:
Diffstat (limited to 'init.lua')
-rw-r--r--init.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/init.lua b/init.lua
index 9783a0d..b977b31 100644
--- a/init.lua
+++ b/init.lua
@@ -649,7 +649,7 @@ function unifieddyes.on_airbrush(itemstack, player, pointed_thing)
return
end
- if not (def.groups and def.groups.ud_param2_colorable > 0) then
+ if not (def.groups and def.groups.ud_param2_colorable and def.groups.ud_param2_colorable > 0) then
minetest.chat_send_player(player_name, "*** That node can't be colored.")
return
end