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