milo: better monitor handling + assigning machines to items
This commit is contained in:
@@ -164,7 +164,6 @@ function Storage:listItems(throttle)
|
||||
return self.cache
|
||||
end
|
||||
|
||||
-- TODO: is there any reason now to maintain 2 lists
|
||||
local cache = { }
|
||||
throttle = throttle or Util.throttle()
|
||||
|
||||
|
||||
@@ -126,7 +126,6 @@ local function turtleCraft(recipe, storage, request, count)
|
||||
for k,v in pairs(recipe.ingredients) do
|
||||
local item = splitKey(v)
|
||||
if storage:export(storage.localName, k, count, item) ~= count then
|
||||
-- TODO: FIX: ingredients cannot be stacked
|
||||
request.status = 'unknown error'
|
||||
request.statusCode = Craft.STATUS_ERROR
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user