commit
7b46384b7b
@ -57,7 +57,7 @@ local on_digiline_receive = function(pos, node, channel, msg)
|
||||
|
||||
if cmd == GET_CMD then digiline:receptor_send(pos, digiline.rules.default, channel, data[addr])
|
||||
elseif cmd == SET_CMD and msg:split(" ")[3] ~= nil then
|
||||
data[addr] = msg:sub(cmd:len() + tostring(addr):len() + 2, -1) -- its too complicated...
|
||||
data[addr] = msg:sub(cmd:len() + tostring(addr):len() + 3, -1) -- its too complicated...
|
||||
meta:set_string("data", minetest.serialize(data))
|
||||
digiline:receptor_send(pos, digiline.rules.default, channel, OK_MSG)--bug was here
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user