diff --git a/plugins/Details_EncounterDetails/Details_EncounterDetails.lua b/plugins/Details_EncounterDetails/Details_EncounterDetails.lua index 98f5ff79..68abb955 100644 --- a/plugins/Details_EncounterDetails/Details_EncounterDetails.lua +++ b/plugins/Details_EncounterDetails/Details_EncounterDetails.lua @@ -802,8 +802,8 @@ local events_to_track = { } local enemy_spell_pool -local CLEvents = function(self, event) - local time, token, hidding, who_serial, who_name, who_flags, who_flags2, alvo_serial, alvo_name, alvo_flags, alvo_flags2, spellid, spellname, school, aura_type = CombatLogGetCurrentEventInfo() +local CLEvents = function(self, event, ...) + local time, token, hidding, who_serial, who_name, who_flags, who_flags2, alvo_serial, alvo_name, alvo_flags, alvo_flags2, spellid, spellname, school, aura_type = CombatLogGetCurrentEventInfo(...) if (events_to_track [token] and bitBand(who_flags or 0x0, 0x00000060) ~= 0) then local t = enemy_spell_pool [spellid] diff --git a/plugins/Details_Vanguard/Details_Vanguard.lua b/plugins/Details_Vanguard/Details_Vanguard.lua index 0f5c7d1f..7be0e6bd 100644 --- a/plugins/Details_Vanguard/Details_Vanguard.lua +++ b/plugins/Details_Vanguard/Details_Vanguard.lua @@ -1088,12 +1088,7 @@ Vanguard.OpenOptionsPanel = function() VanguardOptionsWindow:Show() end -local CombatLogGetCurrentEventInfo = CombatLogGetCurrentEventInfo - - - -function Vanguard:OnEvent (_, event, arg1, token, time, who_serial, who_name, who_flags, _, alvo_serial, alvo_name, alvo_flags, _, spellid, spellname, spellschool, tipo) - +function Vanguard:OnEvent (_, event, arg1) if (event == "ADDON_LOADED") then local AddonName = arg1 if (AddonName == "Details_Vanguard") then