From 467a1c9168b5f40fc6576fc81bc0e4b7b7935fa2 Mon Sep 17 00:00:00 2001 From: Guillaume ARM Date: Sun, 19 May 2024 17:15:35 +0200 Subject: [PATCH] fix(inferium-harvester): use placeDown from turtle api --- inferium-harvester.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/inferium-harvester.lua b/inferium-harvester.lua index 9bae091..b0ad8fa 100644 --- a/inferium-harvester.lua +++ b/inferium-harvester.lua @@ -5,7 +5,7 @@ local config = { local MIN_FUEL_NEEDED = (10 + config.firstCropZ + config.length) * 2 -local VERSION = "0.1.2" +local VERSION = "0.1.3" local IDLE_TIME = 2 local turtleUtils = require('libs/turtle-utils') @@ -129,7 +129,7 @@ local function harvestDown() error('turtle cannot find any crop to place') end - if not turtleUtils.placeDown() then + if not turtle.placeDown() then error('turtle cannot place crop') end end