mirror of
https://github.com/brues-code/pfUI.git
synced 2026-09-27 18:06:02 +00:00
castbar: only show delay on player unit
This commit is contained in:
@@ -123,6 +123,7 @@ pfUI:RegisterModule("castbar", function ()
|
||||
-- register for spell delay
|
||||
cb:RegisterEvent(CASTBAR_DELAY_EVENT)
|
||||
cb:SetScript("OnEvent", function()
|
||||
if not UnitIsUnit(this.unitstr, "player") then return end
|
||||
this.delay = ( this.delay or 0 ) + arg1/1000
|
||||
end)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user