Really should have paid more attention
This commit is contained in:
parent
b3d8a7d16a
commit
305c13719d
@ -55,7 +55,8 @@ local commands = {
|
|||||||
|
|
||||||
local items = w.unwrap(w.query_by_type("storage", {
|
local items = w.unwrap(w.query_by_type("storage", {
|
||||||
type = "search",
|
type = "search",
|
||||||
query = query
|
query = query,
|
||||||
|
exact = exact
|
||||||
}), "searching for items")
|
}), "searching for items")
|
||||||
|
|
||||||
for _, item_type in pairs(items) do
|
for _, item_type in pairs(items) do
|
||||||
@ -69,7 +70,6 @@ local commands = {
|
|||||||
NBT_hash = item_type.NBT_hash,
|
NBT_hash = item_type.NBT_hash,
|
||||||
quantity = max_quantity,
|
quantity = max_quantity,
|
||||||
destination_inventory = conf.network_name,
|
destination_inventory = conf.network_name,
|
||||||
exact = exact
|
|
||||||
}), "extracting a stack").moved
|
}), "extracting a stack").moved
|
||||||
if moved == 0 then -- inventory full
|
if moved == 0 then -- inventory full
|
||||||
quantity = 0
|
quantity = 0
|
||||||
|
Loading…
x
Reference in New Issue
Block a user