From f6da0f732928b2c29d439b8a9baffb2742de0b76 Mon Sep 17 00:00:00 2001 From: Vanessa Dannenberg Date: Thu, 19 Sep 2019 20:55:56 -0400 Subject: [PATCH] fix the 'fix' --- homedecor_lighting/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homedecor_lighting/init.lua b/homedecor_lighting/init.lua index 7c7fedbe..1aa254bb 100644 --- a/homedecor_lighting/init.lua +++ b/homedecor_lighting/init.lua @@ -103,7 +103,7 @@ if minetest.get_modpath("digilines") then local setchan = meta:get_string("channel") if setchan ~= channel then return end - if msg and msg ~= "" and type(msg) == "string" then + if msg ~= "" and (type(msg) == "string" or type(msg) == "number" ) then local n = tonumber(msg) local suff = word_to_bright[msg] or "invalid"