1.12 fixes
This commit is contained in:
@@ -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 },
|
||||
|
||||
@@ -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',
|
||||
|
||||
@@ -1,2 +1,3 @@
|
||||
_G.requireInjector(_ENV)
|
||||
local Home = require('turtle.home')
|
||||
turtle.run(Home.set)
|
||||
|
||||
Reference in New Issue
Block a user