File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed
Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ local GetNetStats = GetNetStats
4444
4545local CreateFrame = CreateFrame
4646local SetCVar = SetCVar
47- local GetAddOnMetadata = GetAddOnMetadata
47+ local GetAddOnMetadata = GetAddOnMetadata or C_AddOns . GetAddOnMetadata
4848
4949local UIErrorsFrame = UIErrorsFrame
5050local DEFAULT_CHAT_FRAME = DEFAULT_CHAT_FRAME
Original file line number Diff line number Diff line change @@ -4946,7 +4946,10 @@ function lib:activate()
49464946 local frame = CreateFrame (" Frame" )
49474947 self .frame = frame
49484948
4949- frame :RegisterEvent (" LEARNED_SPELL_IN_TAB" )
4949+ pcall (function ()
4950+ frame :RegisterEvent (" LEARNED_SPELL_IN_TAB" )
4951+ end )
4952+
49504953 frame :RegisterEvent (" CHARACTER_POINTS_CHANGED" )
49514954 frame :RegisterEvent (" SPELLS_CHANGED" )
49524955
You can’t perform that action at this time.
0 commit comments