More debugging.
This commit is contained in:
parent
cadf3f5d69
commit
ba1853d782
@ -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)
|
Loading…
Reference in New Issue
Block a user