This commit is contained in:
Soph :3 2025-11-11 21:48:01 +02:00
parent 0c9f0d65ec
commit dc56dab4f9
2 changed files with 13 additions and 3 deletions

View file

@ -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)