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

@@ -47,11 +47,11 @@ local function client(socket)
Milo:clearGrid()
elseif data.request == 'transfer' then
local count = context.inventoryAdapter:provide(
data.item,
data.count,
local count = context.storage:export(
context.localName,
nil,
context.localName)
data.count,
data.item)
turtle.eachFilledSlot(function(slot)
manipulator.getInventory().pullItems(