Skip to content

Commit

Permalink
GetAddOnMetadata fix for 10.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
QartemisT authored May 2, 2023
1 parent ab7daa0 commit dcac104
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions WagoAnalytics.lua
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,9 @@ local isRetail = WOW_PROJECT_ID == (WOW_PROJECT_MAINLINE or 1)
do
local tostring, pairs, ipairs, debugstack, debuglocals, tIndexOf, tinsert, match =
tostring, pairs, ipairs, debugstack, debuglocals, tIndexOf, table.insert, string.match
local GetLocale, UnitFactionGroup, GetCurrentRegion, UnitAffectingCombat, InCombatLockdown, GetNumAddOns, GetAddOnInfo, GetAddOnMetadata, CreateFrame, UnitClass, UnitLevel, UnitRace, GetSpecialization, GetSpecializationInfo =
GetLocale, UnitFactionGroup, GetCurrentRegion, UnitAffectingCombat, InCombatLockdown, GetNumAddOns, GetAddOnInfo, GetAddOnMetadata, CreateFrame, UnitClass, UnitLevel, UnitRace, GetSpecialization, GetSpecializationInfo
local GetLocale, UnitFactionGroup, GetCurrentRegion, UnitAffectingCombat, InCombatLockdown, GetNumAddOns, GetAddOnInfo, CreateFrame, UnitClass, UnitLevel, UnitRace, GetSpecialization, GetSpecializationInfo =
GetLocale, UnitFactionGroup, GetCurrentRegion, UnitAffectingCombat, InCombatLockdown, GetNumAddOns, GetAddOnInfo, CreateFrame, UnitClass, UnitLevel, UnitRace, GetSpecialization, GetSpecializationInfo
local GetAddOnMetadata = C_AddOns and C_AddOns.GetAddOnMetadata or GetAddOnMetadata

-- isSimple 3 state: True is simple, False is pcall, Nil is not simple
local function handleError(errorMessage, isSimple, errorObj)
Expand Down

0 comments on commit dcac104

Please sign in to comment.