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
+19
View File
@@ -744,4 +744,23 @@ pfUI:RegisterModule("thirdparty", function ()
end
end
end
do -- DebuffTimers Integration
if AUF_Tooltip then
if pfUI.debuffs then
pfUI.debuffs.active = nil
end
else
local pfHookDebuffTimers = CreateFrame("Frame", nil)
pfHookDebuffTimers:RegisterEvent("VARIABLES_LOADED")
pfHookDebuffTimers:SetScript("OnEvent",function()
if AUF_Tooltip then
pfHookDebuffTimers:UnregisterEvent("VARIABLES_LOADED")
if pfUI.debuffs then
pfUI.debuffs.active = nil
end
end
end)
end
end
end)