Skip to content

Commit

Permalink
[Classic] Still some issues with Blue Shaman coloring in Classic Era :(
Browse files Browse the repository at this point in the history
  • Loading branch information
EsreverWoW committed Nov 14, 2023
1 parent fa6736c commit 36dd80b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ShestakUI/Core/Classic.lua
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ if not CUSTOM_CLASS_COLORS then
end

-- for Blizzard UI elements
--[[
local frame = CreateFrame("Frame")
frame:RegisterEvent("ADDON_LOADED")
frame:SetScript("OnEvent", function(_, _, addon)
Expand Down Expand Up @@ -164,8 +165,9 @@ if not CUSTOM_CLASS_COLORS then
end)
end
end)
--]]

hooksecurefunc("CompactUnitFrame_UpdateHealthColor", function(frame) -- 371
hooksecurefunc("CompactUnitFrame_UpdateHealthColor", function(frame)
local opts = frame.optionTable
if opts.healthBarColorOverride or not opts.useClassColors
or not (opts.allowClassColorsForNPCs or UnitIsPlayer(frame.unit))
Expand Down

0 comments on commit 36dd80b

Please sign in to comment.