Update Items.lua (#4)

Add "Realm Bound" to IsSoulbound check
This commit is contained in:
RealityWinner
2023-06-06 05:37:27 -04:00
committed by GitHub
parent bd20d5d614
commit 99da4fce66
+1 -1
View File
@@ -189,7 +189,7 @@ function TSMAPI:IsSoulbound(bag, slot)
for id=1, scanTooltip:NumLines() do for id=1, scanTooltip:NumLines() do
local text = _G["TSMSoulboundScanTooltipTextLeft" .. id] local text = _G["TSMSoulboundScanTooltipTextLeft" .. id]
text = text and text:GetText() text = text and text:GetText()
if text and ((text == ITEM_BIND_ON_PICKUP and id < 4) or text == ITEM_SOULBOUND or text == ITEM_BIND_QUEST) then if text and ((text == ITEM_BIND_ON_PICKUP and id < 4) or text == ITEM_SOULBOUND or text == ITEM_BIND_QUEST or text == ITEM_ACCOUNTBOUND) then
resultsCache[slotID] = {soulbound=true} resultsCache[slotID] = {soulbound=true}
break break
end end