More debugging.
This commit is contained in:
parent
cadf3f5d69
commit
ba1853d782
@ -27,6 +27,8 @@ local FAILED = "failed"
|
|||||||
|
|
||||||
running = true
|
running = true
|
||||||
local modem = peripheral.find("modem")
|
local modem = peripheral.find("modem")
|
||||||
|
|
||||||
|
|
||||||
print("Checking for modem.")
|
print("Checking for modem.")
|
||||||
if (modem == nil) then
|
if (modem == nil) then
|
||||||
error("Modem not found.")
|
error("Modem not found.")
|
||||||
@ -119,6 +121,7 @@ local function listenToMiners()
|
|||||||
end
|
end
|
||||||
printPrompt()
|
printPrompt()
|
||||||
end
|
end
|
||||||
|
print("No longer listening to miners.")
|
||||||
end
|
end
|
||||||
|
|
||||||
parallel.waitForAll(listenToMiners, listenForCommands)
|
parallel.waitForAll(listenToMiners, listenForCommands)
|
Loading…
x
Reference in New Issue
Block a user