More debugging.

This commit is contained in:
Harrison Deng 2021-05-03 13:12:17 -05:00
parent cadf3f5d69
commit ba1853d782

View File

@ -27,6 +27,8 @@ local FAILED = "failed"
running = true
local modem = peripheral.find("modem")
print("Checking for modem.")
if (modem == nil) then
error("Modem not found.")
@ -119,6 +121,7 @@ local function listenToMiners()
end
printPrompt()
end
print("No longer listening to miners.")
end
parallel.waitForAll(listenToMiners, listenForCommands)