Skip to content

Commit

Permalink
Added extra log for when links are missing
Browse files Browse the repository at this point in the history
  • Loading branch information
evil-morfar committed Jan 10, 2024
1 parent 18b98d6 commit 3eb10f1
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Classes/Utils/GroupLoot.lua
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,10 @@ function GroupLoot:OnStartLootRoll(_, rollID)
if not addon.enabled then return self.Log:d("Addon disabled, ignoring group loot") end
local link = GetLootRollItemLink(rollID)
local _, _, _, quality, _, canNeed, _, _, _, _, _, _, canTransmog = GetLootRollItemInfo(rollID)
if not link then return end -- Sanity check
if not link then -- Sanity check
self.Log:d("No link!", rollID)
return
end
if quality and quality >= Enum.ItemQuality.Legendary then
self.Log:d("Ignoring legendary quality:", quality)
return
Expand Down

0 comments on commit 3eb10f1

Please sign in to comment.