1.7.10 compatibility

This commit is contained in:
kepler155c
2018-03-21 12:34:47 -04:00
parent 9986857ef1
commit 8b2620d4aa
2 changed files with 11 additions and 4 deletions

View File

@@ -206,11 +206,13 @@ local function listItems()
if items then
break
end
os.sleep(.25)
jobList:showError('Error - retrying in 3 seconds')
os.sleep(3)
end
if not items then
-- error('could not check inventory')
term.clear()
jobList:showError('Error - rebooting in 5 seconds')
print('Communication failure')
print('rebooting in 5 secs')
os.sleep(5)