Skip to content

Commit

Permalink
[Bugfix] Fix Cast Bar not showing Earthen Empower Racial
Browse files Browse the repository at this point in the history
  • Loading branch information
Krealle committed Dec 16, 2024
1 parent 0c5a35b commit bfe1fca
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Widgets/Bars/CastBar.lua
Original file line number Diff line number Diff line change
Expand Up @@ -472,7 +472,8 @@ local function Enable(self)
button:AddEventListener("UNIT_SPELLCAST_FAILED", CastFail)
button:AddEventListener("UNIT_SPELLCAST_INTERRUPTED", CastFail)

if CUF.vars.isRetail and button.states.class == "EVOKER" then
if CUF.vars.isRetail and (button.states.class == "EVOKER"
or select(2, UnitRace(button.states.unit)) == "EarthenDwarf") then
button:AddEventListener("UNIT_SPELLCAST_EMPOWER_START", CastStart)
button:AddEventListener("UNIT_SPELLCAST_EMPOWER_STOP", CastStop)
button:AddEventListener("UNIT_SPELLCAST_EMPOWER_UPDATE", CastUpdate)
Expand Down

0 comments on commit bfe1fca

Please sign in to comment.