mirror of
https://github.com/brues-code/pfUI.git
synced 2026-09-21 23:26:56 +00:00
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.
This commit is contained in:
@@ -61,4 +61,5 @@
|
||||
<Include file="..\modules\afkcam.lua"/>
|
||||
<Include file="..\modules\screenshot.lua"/>
|
||||
<Include file="..\modules\addoncompat.lua"/>
|
||||
<Include file="..\modules\combatlogfix.lua"/>
|
||||
</Ui>
|
||||
|
||||
@@ -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)
|
||||
Reference in New Issue
Block a user