fix attempt 1
This commit is contained in:
parent
0d0ac7f278
commit
226aae1d4c
@ -13,8 +13,8 @@ local function search()
|
||||
end
|
||||
local function setOutput()
|
||||
io.write("\n\27[2KOutput side:")
|
||||
local in = io.read()
|
||||
output = tonumber(in) or sides[in]
|
||||
local ins = io.read()
|
||||
output = tonumber(ins) or sides[ins]
|
||||
end
|
||||
|
||||
local function extract(res)
|
||||
|
@ -29,7 +29,6 @@ end
|
||||
function inv.cacheInvalidation() -- re-index only if necessary
|
||||
if computer.uptime() > inv.cacheTime + 300 or inv.cacheInvalid then
|
||||
inv.index()
|
||||
inv.loadLists()
|
||||
end
|
||||
end
|
||||
|
||||
@ -90,7 +89,6 @@ function inv.extractItem(slot,count,output)
|
||||
return tcount
|
||||
end
|
||||
|
||||
inv.loadLists()
|
||||
inv.index()
|
||||
|
||||
return inv
|
||||
|
Loading…
Reference in New Issue
Block a user