mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-13 00:42:40 +00:00
thirdparty: debufftimers detection
This commit is contained in:
@@ -462,7 +462,7 @@ pfUI:RegisterModule("nameplates", function ()
|
||||
this.debuffs[j].icon:SetTexture(icon)
|
||||
this.debuffs[j].icon:SetTexCoord(.078, .92, .079, .937)
|
||||
|
||||
if pfUI.debuffs and name then
|
||||
if pfUI.debuffs and pfUI.debuffs.active and name then
|
||||
this.debuffs[j].cd = this.debuffs[j].cd or CreateFrame("Model", nil, this.debuffs[j], "CooldownFrameTemplate")
|
||||
local start, duration, timeleft = pfUI.debuffs:GetDebuffInfo("target", name)
|
||||
CooldownFrame_SetTimer(this
|
||||
|
||||
Reference in New Issue
Block a user