forked from Mirrorlandia_minetest/digistuff
Fix crash on some validation failures
This commit is contained in:
parent
5356079c8a
commit
0cdbfe2be1
2
init.lua
2
init.lua
@ -249,7 +249,7 @@ digistuff.ts_on_digiline_receive = function (pos, node, channel, msg)
|
|||||||
else
|
else
|
||||||
for _,i in ipairs(msg) do
|
for _,i in ipairs(msg) do
|
||||||
if i.command then
|
if i.command then
|
||||||
data = digistuff.process_command(meta,data,i)
|
data = digistuff.process_command(meta,data,i) or data
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user