diff --git a/inferium-harvester.lua b/inferium-harvester.lua index cdb0c0f..a9b5adf 100644 --- a/inferium-harvester.lua +++ b/inferium-harvester.lua @@ -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 @@ -441,4 +441,4 @@ local function main() end end -main() +main() \ No newline at end of file