diff --git a/functions.lua b/functions.lua index 2c9cbac..54ffeb0 100644 --- a/functions.lua +++ b/functions.lua @@ -120,6 +120,11 @@ local node_def_defaults = { if channel ~= minetest.get_meta(pos):get_string("channel") then return end + + if type(msg) ~= "string" then + return + end + digiterms.push_text_on_screen(pos, msg) end, },