fix(inferium-harvester): use placeDown from turtle api

This commit is contained in:
Guillaume ARM 2024-05-19 17:15:35 +02:00
parent e20c7fd073
commit 467a1c9168

View File

@ -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