We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9622278 commit 110b3c4Copy full SHA for 110b3c4
mesecons_detector/init.lua
@@ -223,10 +223,10 @@ local node_detector_digiline = {
223
224
if type(msg) == "table" then
225
if msg.distance or msg.scanname then
226
- if msg.distance and type(msg.distance) == "string" then
+ if type(msg.distance) == "string" then
227
meta:set_string("distance", msg.distance)
228
end
229
- if msg.scanname and type(msg.scanname) == "string" then
+ if type(msg.scanname) == "string" then
230
meta:set_string("scanname", msg.scanname)
231
232
node_detector_make_formspec(pos)
0 commit comments