diff --git a/apps/chestManager.lua b/apps/chestManager.lua index 1f0adb6..a220956 100644 --- a/apps/chestManager.lua +++ b/apps/chestManager.lua @@ -549,6 +549,7 @@ local function jobMonitor() parent = mon, grid = UI.Grid { sortColumn = 'displayName', + backgroundFocusColor = colors.black, columns = { { heading = 'Qty', key = 'count', width = 6 }, { heading = 'Crafting', key = 'displayName', width = mon.width / 2 - 10 }, diff --git a/apps/treefarm.lua b/apps/treefarm.lua index 74d08e2..6f7c146 100644 --- a/apps/treefarm.lua +++ b/apps/treefarm.lua @@ -122,6 +122,7 @@ local function craftItem(item, qty) if safePlaceBlock(CHEST) then + os.sleep(.2) -- needed for minecraft 1.12 Util.print('Crafting %d %s', (qty or 1), item) success, msg = turtle.craftItem(item, qty or 1, { side = 'top', diff --git a/etc/scripts/setHome b/etc/scripts/setHome index 709627d..6aa1f20 100644 --- a/etc/scripts/setHome +++ b/etc/scripts/setHome @@ -1,2 +1,3 @@ +_G.requireInjector(_ENV) local Home = require('turtle.home') turtle.run(Home.set)