Ok moto
This commit is contained in:
parent
0c9f0d65ec
commit
dc56dab4f9
2 changed files with 13 additions and 3 deletions
|
|
@ -957,7 +957,8 @@ function abstractInventory(inventories, assumeLimits, logSettings)
|
|||
end
|
||||
end
|
||||
local ret
|
||||
if type(targetInventory) == "string" and not options.optimal then
|
||||
|
||||
if not options.optimal then
|
||||
ret = pushItemsUnoptimal(targetInventory, name, amount, toSlot, nbt, options)
|
||||
else
|
||||
ret = pushItemsOptimal(targetInventory, name, amount, toSlot, nbt, options)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue