diff --git a/init/modules.xml b/init/modules.xml index 676cec85..927c822e 100644 --- a/init/modules.xml +++ b/init/modules.xml @@ -61,4 +61,5 @@ + diff --git a/modules/combatlogfix.lua b/modules/combatlogfix.lua new file mode 100644 index 00000000..99ac6a0a --- /dev/null +++ b/modules/combatlogfix.lua @@ -0,0 +1,7 @@ +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)