1.12 fixes

This commit is contained in:
kepler155c
2018-03-30 23:11:33 -04:00
parent dc67a4e9ac
commit b0d5738a1f
3 changed files with 3 additions and 0 deletions

View File

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

View File

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

View File

@@ -1,2 +1,3 @@
_G.requireInjector(_ENV)
local Home = require('turtle.home')
turtle.run(Home.set)