fix the 'fix'

This commit is contained in:
Vanessa Dannenberg 2019-09-19 20:55:56 -04:00
parent e84a184946
commit f6da0f7329
1 changed files with 1 additions and 1 deletions

View File

@ -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"