From 995f635807061db701577c7fd5522435c2c0c418 Mon Sep 17 00:00:00 2001 From: kepler155c Date: Thu, 29 Nov 2018 16:18:09 -0500 Subject: [PATCH] farm chorus fruit --- farms/farmer.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/farms/farmer.lua b/farms/farmer.lua index fd888e6..5024ecd 100644 --- a/farms/farmer.lua +++ b/farms/farmer.lua @@ -119,11 +119,12 @@ end local function harvest(blocks) turtle.equip('right', 'minecraft:diamond_pickaxe') - turtle.select(1) local dropped Point.eachClosest(turtle.point, blocks, function(b) + turtle.select(1) + if b.action == 'bash' then turtle.digForwardAt(b) @@ -192,7 +193,6 @@ local function harvest(blocks) if turtle._goto({ x = b.x + hi.xd, z = b.z + hi.zd, heading = h }) then if turtle.dig() then turtle.place(crops[b.name].seed) - turtle.select(1) end end end