- Search the first 15 lines instead of the first 5 lines for the "Soulbound" descriptor since apparently item cards have gotten stupidly long these days.

This commit is contained in:
parnic
2013-05-30 21:49:45 +00:00
parent 0442d560d5
commit 993b99e7be

View File

@ -843,8 +843,8 @@ function Breakables:FindBreakablesInSlot(bagId, slotId)
and self:BreakableIsDisenchantable(itemType, itemLevel) then
local i = 1
local soulbound = false
for i=1,5 do
if _G["BreakablesTooltipTextLeft"..i]:GetText() == ITEM_SOULBOUND then
for i=1,15 do
if _G["BreakablesTooltipTextLeft"..i] and _G["BreakablesTooltipTextLeft"..i]:GetText() == ITEM_SOULBOUND then
soulbound = true
break
end