thirdparty: debufftimers detection

This commit is contained in:
shagu
2017-07-17 12:45:26 +02:00
parent 7065e664b1
commit 93302baef1
4 changed files with 23 additions and 2 deletions
+1 -1
View File
@@ -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