From 88f4173c8ee8e78dc4e8b851f0ed68072b7a0957 Mon Sep 17 00:00:00 2001 From: yourfriendoss Date: Wed, 12 Nov 2025 16:26:51 +0200 Subject: [PATCH] if there was items only with NBT, you couldn't get them out before --- src/modules/inv.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/inv.lua b/src/modules/inv.lua index 319d695..0bfd4d3 100644 --- a/src/modules/inv.lua +++ b/src/modules/inv.lua @@ -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