From 14a62585d8cdbf4c39b23a55725616ac8d3ccde5 Mon Sep 17 00:00:00 2001 From: kepler155c Date: Wed, 21 Mar 2018 13:33:41 -0400 Subject: [PATCH] 1.7.10 compatibility --- apis/meAdapter.lua | 2 +- apps/chestManager.lua | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apis/meAdapter.lua b/apis/meAdapter.lua index ecb0938..f7e0b91 100644 --- a/apis/meAdapter.lua +++ b/apis/meAdapter.lua @@ -159,7 +159,7 @@ function MEAdapter:craft(item, count) nbt_hash = item.nbtHash, }, count or 1, - cpu.name -- CPUs must be named ! use anvil + v.name -- CPUs must be named ! use anvil ) os.sleep(0) -- needed ? diff --git a/apps/chestManager.lua b/apps/chestManager.lua index 14db793..58e6014 100644 --- a/apps/chestManager.lua +++ b/apps/chestManager.lua @@ -449,7 +449,7 @@ local function craftItems(craftList, allItems) -- controller if controllerAdapter then for key,item in pairs(craftList) do - if not canCraft or not Craft.recipes[key] and not item.rsControl then + if (not canCraft or not Craft.recipes[key]) and not item.rsControl then if controllerAdapter:isCrafting(item) then item.status = '(crafting)' item.statusCode = STATUS_INFO