From f62b7601741011127a47b29a9bec473e6a1aaae7 Mon Sep 17 00:00:00 2001 From: kepler155c Date: Fri, 23 Mar 2018 13:06:21 -0400 Subject: [PATCH] bug due to adapter rework --- apis/turtle/crafting.lua | 2 -- apps/treefarm.lua | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/apis/turtle/crafting.lua b/apis/turtle/crafting.lua index 9311317..93b8b43 100644 --- a/apis/turtle/crafting.lua +++ b/apis/turtle/crafting.lua @@ -6,13 +6,11 @@ local turtle = _G.turtle local CRAFTING_TABLE = 'minecraft:crafting_table' local function clearGrid(inventory) -print('clearing') for i = 1, 16 do local count = turtle.getItemCount(i) if count > 0 then inventory:insert(i, count) if turtle.getItemCount(i) ~= 0 then -print('failed to insert') return false end end diff --git a/apps/treefarm.lua b/apps/treefarm.lua index f89ea0d..74d08e2 100644 --- a/apps/treefarm.lua +++ b/apps/treefarm.lua @@ -124,7 +124,7 @@ local function craftItem(item, qty) Util.print('Crafting %d %s', (qty or 1), item) success, msg = turtle.craftItem(item, qty or 1, { - wrapSide = 'top', + side = 'top', direction = 'down', }) repeat until not turtle.suckUp()