Browse Source

Update Items.lua

Add "Realm Bound" to IsSoulbound check
pull/4/head
RealityWinner 3 years ago committed by GitHub
parent
commit
4f004d28b0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      TradeSkillMaster/Util/Items.lua

2
TradeSkillMaster/Util/Items.lua

@ -189,7 +189,7 @@ function TSMAPI:IsSoulbound(bag, slot)
for id=1, scanTooltip:NumLines() do
local text = _G["TSMSoulboundScanTooltipTextLeft" .. id]
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}
break
end

Loading…
Cancel
Save