mirror of
https://github.com/parnic/breakables.git
synced 2025-06-16 17:40:13 -05:00
- 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:
@ -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
|
||||
|
Reference in New Issue
Block a user