fix(inferium-harvester): syntax errors
This commit is contained in:
parent
0b724c7334
commit
daa36c82de
@ -1,7 +1,7 @@
|
||||
local turtleUtils = require('libs/turtle-utils')
|
||||
local config = require('config/harvesting')
|
||||
|
||||
local VERSION = "0.5.0
|
||||
local VERSION = "0.5.0"
|
||||
local IDLE_TIME = 2
|
||||
local WAIT_ITEM_IDLE_TIME = 5
|
||||
local MIN_FUEL_NEEDED = (100 + config.firstCropZ + config.length) * 2
|
||||
@ -64,7 +64,7 @@ local function removeFirst(t, x)
|
||||
end
|
||||
end
|
||||
|
||||
local function find(t, predicate) do
|
||||
local function find(t, predicate)
|
||||
for k,v in pairs(t) do
|
||||
if predicate(v, k) then
|
||||
return v, k
|
||||
|
||||
Loading…
Reference in New Issue
Block a user