1.7.10 compatibility
This commit is contained in:
@@ -1077,12 +1077,20 @@ function listingPage:applyFilter()
|
||||
self.grid:setValues(t)
|
||||
end
|
||||
|
||||
local s, m = pcall(findMachines)
|
||||
|
||||
if not s and m then
|
||||
printError(m)
|
||||
read()
|
||||
return
|
||||
-- randomly errors in 1.7x with "you are not attached to this computer"
|
||||
local retryCount = 0
|
||||
for _ = 1, 3 do
|
||||
local s, m = pcall(findMachines)
|
||||
if not s and m then
|
||||
_G.printError(m)
|
||||
else
|
||||
break
|
||||
end
|
||||
retryCount = retryCount + 1
|
||||
if retryCount > 3 then
|
||||
error(m)
|
||||
end
|
||||
print('retrying...')
|
||||
end
|
||||
|
||||
loadResources()
|
||||
|
||||
@@ -25,12 +25,12 @@ if multishell then
|
||||
end
|
||||
|
||||
local config = {
|
||||
computerFacing = 'north', -- direction turtle is facing
|
||||
computerFacing = 'north', -- direction turtle is facing
|
||||
|
||||
inventory = 'top',
|
||||
craftingChest = 'bottom',
|
||||
controller = 'none',
|
||||
stock = 'none',
|
||||
inventory = 'top', -- main inventory
|
||||
craftingChest = 'bottom', -- required in 1.8+ for crafting
|
||||
controller = 'none', -- AE / RS controller
|
||||
stock = 'none', -- another inventory for restocking main inventory
|
||||
|
||||
trashDirection = 'up', -- trash/chest in relation to inventory
|
||||
monitor = 'type/monitor',
|
||||
|
||||
Reference in New Issue
Block a user