mirror of
https://github.com/Bluewhale1337/ElvUIModernized.git
synced 2026-07-27 08:24:44 +00:00
cleanup
This commit is contained in:
@@ -17,9 +17,6 @@ end
|
||||
|
||||
local function onEvent()
|
||||
if(this:IsVisible() or event == 'UNIT_COMBO_POINTS') then
|
||||
--print(this, event, arg and unpack(arg))
|
||||
--print(this, event, arg1, arg2, arg3, arg4, arg5)
|
||||
|
||||
return this[event](this, event, arg1, arg2, arg3, arg4, arg5)
|
||||
end
|
||||
end
|
||||
|
||||
@@ -7,7 +7,7 @@ local argcheck = Private.argcheck
|
||||
local queue = {}
|
||||
local factory = CreateFrame('Frame')
|
||||
factory:SetScript('OnEvent', function()
|
||||
return this[event](this, event, arg and unpack(arg))
|
||||
return this[event](this)
|
||||
end)
|
||||
|
||||
factory:RegisterEvent('PLAYER_LOGIN')
|
||||
|
||||
Reference in New Issue
Block a user