Files
pfUI/modules/combatlogfix.lua
T
shagu b4925fc9fb combatlogfix: auto reset combat logs for tbc
Fixes the combatlog break bugs that exist since patch 2.4 by simply
clearing the whole log on every update. This is required in order
to receive new log events. Otherwise, addons like Omen or Recount
won't work and simply don't receive any new data at a given time.
2019-12-17 11:52:13 +01:00

8 lines
467 B
Lua

pfUI:RegisterModule("combatlogfix", "tbc", function ()
-- Fixes the combatlog break bugs that exist since patch 2.4 by simply clearing the whole log
-- on every update. This is required in order to receive new log events. Otherwise, addons like
-- Omen or Recount won't work and simply don't receive any new data at a given time.
local combatlog = CreateFrame("Frame", "pfCombatLogFix", UIParent)
combatlog:SetScript("OnUpdate", CombatLogClearEntries)
end)