storage refactor - void option

This commit is contained in:
kepler155c
2018-10-26 16:08:07 -04:00
parent 6dde2245a6
commit f9ae197cfc
11 changed files with 321 additions and 318 deletions

View File

@@ -25,11 +25,11 @@ function ExportTask:cycle(context)
if count > 0 then
item = Milo:getItemWithQty(item)
if item and count > 0 then
context.inventoryAdapter:provide(
item,
math.min(count, item.count),
context.storage:export(
target,
entry.slot,
target)
math.min(count, item.count),
item)
end
end
end