From 6a3a34ecdf43538e0305d51892d4784d008a0a2a Mon Sep 17 00:00:00 2001 From: Anonomit Date: Fri, 19 Jul 2024 17:00:08 -0400 Subject: [PATCH] Fix tooltip issue --- Data.lua | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/Data.lua b/Data.lua index c756983..21747da 100644 --- a/Data.lua +++ b/Data.lua @@ -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