rework milo crafting

This commit is contained in:
kepler155c
2018-11-10 21:01:53 -05:00
parent aff05f8587
commit bc9028f0c7
10 changed files with 131 additions and 85 deletions

View File

@@ -29,7 +29,7 @@ function ReplenishTask:cycle(context)
Milo:requestCrafting({
damage = res.ignoreDamage and 0 or item.damage,
nbtHash = nbtHash,
count = res.low - count,
requested = res.low - count,
name = item.name,
displayName = item.displayName,
replenish = true,
@@ -37,7 +37,7 @@ function ReplenishTask:cycle(context)
else
local request = context.craftingQueue[Milo:uniqueKey(item)]
if request and request.replenish then
request.count = request.crafted
--request.count = request.crafted
end
end
end