This commit is contained in:
navid.sassan 2021-04-02 16:46:12 +02:00
parent fa8ad9eb7d
commit 1cdfd66ce9

View File

@ -35,7 +35,7 @@ function recv()
local updated = false local updated = false
while true do while true do
local id, data = rednet.receive() local id, data = rednet.receive()
print("Message from " .. id .. ": " .. dump(data)) print(type(id))
if id == redstone_toggle_id then if id == redstone_toggle_id then
if type(data) == 'table' then if type(data) == 'table' then
print('table') print('table')