Skip to content

Commit fbe7b8a

Browse files
committed
Slightly adjust how soulbound items are handled in the collection UI
1 parent c70a0cc commit fbe7b8a

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

collectionUi.lua

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -598,12 +598,6 @@ local function checkResult(scanResult, classID, seasonID)
598598
if characterInfo then
599599
scanClassFile = characterInfo.details.className;
600600
end
601-
if scanResult.source.character and scanResult.isBound and isSyndicatorLoaded then
602-
--- @type SyndicatorCharacterData?
603-
if not characterInfo or characterInfo.details.class ~= classID then
604-
return; -- item is bound, and the location is a character of the wrong class
605-
end
606-
end
607601

608602
local isToken = scanResult.itemID and TUM:IsToken(scanResult.itemID)
609603
local tokenInfo = isToken and TUM:GetTokenInfo(scanResult.itemID, scanResult.itemLink)
@@ -622,6 +616,13 @@ local function checkResult(scanResult, classID, seasonID)
622616
return;
623617
end
624618

619+
if not isItemCatalysed and scanResult.source.character and scanResult.isBound and isSyndicatorLoaded then
620+
--- @type SyndicatorCharacterData?
621+
if not characterInfo or characterInfo.details.class ~= classID then
622+
return; -- item is bound, and the location is a character of the wrong class
623+
end
624+
end
625+
625626
local tumResult = TUM:IsAppearanceMissing(scanResult.itemLink, classID);
626627

627628
local location;

0 commit comments

Comments
 (0)