if there was items only with NBT, you couldn't get them out before

This commit is contained in:
Soph :3 2025-11-12 16:26:51 +02:00
parent cc599c5ef7
commit 88f4173c8e

View file

@ -55,7 +55,7 @@ local function sendItemToSelf(itemName, perip, maxAmount)
return
end
if ail.getItem(itemName) then
if #ail.listNBT(itemName) ~= 0 then
local nbtList = ail.listNBT(itemName)
local chosenNBT = nil
if nbtList and #nbtList > 0 then