diff --git a/3pT2BS/3pT2BS.lua b/3pT2BS/3pT2BS.lua index 2a1021d..59e81fc 100644 --- a/3pT2BS/3pT2BS.lua +++ b/3pT2BS/3pT2BS.lua @@ -109,7 +109,7 @@ end frame:SetScript("OnEvent", function(self, event, ...) - events[event](...) + events[event](self, ...) end) for k, v in pairs(events) do frame:RegisterEvent(k) -- register all events for which handlers have been defined diff --git a/BigBrother/BigBrother.lua b/BigBrother/BigBrother.lua index a5e0836..9d59f4c 100644 --- a/BigBrother/BigBrother.lua +++ b/BigBrother/BigBrother.lua @@ -63,7 +63,7 @@ function events:ENCOUNTER_START(encounterID, encounterName, difficultyID, groupS }) end -function events:COMBAT_LOG_EVENT_UNFILTERED(self, ...) +function events:COMBAT_LOG_EVENT_UNFILTERED(...) local _, event, _, _, name, _, _, _, _, _, _, _, spellName = CombatLogGetCurrentEventInfo() if event ~= "SPELL_CAST_SUCCESS" then return