Skip to content

Commit

Permalink
Fix tooltip issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Anonomit committed Jul 19, 2024
1 parent eaba469 commit 6a3a34e
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions Data.lua
Original file line number Diff line number Diff line change
Expand Up @@ -12329,3 +12329,16 @@ end
function LootReserve.Data:GetItemLevelOverride(itemID)
return self.ItemLevelOverrides[itemID];
end

function LootReserve.Data:GetIntendedItem(itemID)
local intendedItem = self.OtherFactionItems[itemID] or self.IntendedItems[itemID];
if intendedItem then
if intendedItem == itemID then
return intendedItem;
else
return self:GetIntendedItem(intendedItem);
end
else
return itemID;
end
end

0 comments on commit 6a3a34e

Please sign in to comment.