Skip to content

Commit

Permalink
keep retail one the same
Browse files Browse the repository at this point in the history
  • Loading branch information
kodewdle committed May 2, 2024
1 parent 02a72b1 commit 0181469
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion ElvUI/Core/Modules/DataTexts/ItemLevel.lua
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,12 @@ local db
local function OnEvent(self)
if E.Retail or E.Cata then
avg, avgEquipped, avgPvp = GetAverageItemLevel()
r, g, b = E:ColorizeItemLevel(avg)

if E.Retail then
r, g, b = GetItemLevelColor()
else
r, g, b = E:ColorizeItemLevel(avg)
end

local hex = db.rarityColor and E:RGBToHex(r, g, b) or '|cFFFFFFFF'

Expand Down

0 comments on commit 0181469

Please sign in to comment.