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