Really should have paid more attention

This commit is contained in:
osmarks 2018-08-15 16:21:28 +01:00
parent b3d8a7d16a
commit 305c13719d
1 changed files with 2 additions and 2 deletions

View File

@ -55,7 +55,8 @@ local commands = {
local items = w.unwrap(w.query_by_type("storage", {
type = "search",
query = query
query = query,
exact = exact
}), "searching for items")
for _, item_type in pairs(items) do
@ -69,7 +70,6 @@ local commands = {
NBT_hash = item_type.NBT_hash,
quantity = max_quantity,
destination_inventory = conf.network_name,
exact = exact
}), "extracting a stack").moved
if moved == 0 then -- inventory full
quantity = 0