Skip to content

Commit 7c70c82

Browse files
committed
only player unitframe
1 parent 28ed0bc commit 7c70c82

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ElvUI/Core/Modules/UnitFrames/Elements/CastBar.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -509,7 +509,7 @@ function UF:PostCastStart(unit)
509509
end
510510
end
511511

512-
if self.channeling and db.castbar.ticks and unit == 'player' then
512+
if self.channeling and db.castbar.ticks and parent.unitframeType == 'player' then
513513
local spellID, global = self.spellID, E.global.unitframe
514514
local baseTicks = global.ChannelTicks[spellID]
515515

0 commit comments

Comments
 (0)