1.7.10 compatibility

This commit is contained in:
kepler155c
2018-03-21 13:33:41 -04:00
parent 8b2620d4aa
commit 14a62585d8
2 changed files with 2 additions and 2 deletions

View File

@@ -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 ?

View File

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