Skip to content

Commit e92b887

Browse files
committed
Fixed some whoopsi
1 parent 1465858 commit e92b887

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ElvUI_Libraries/Core/oUF_Plugins/oUF_Swing.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ local CreateFrame = CreateFrame
4545
local GetTime = GetTime
4646

4747
local UnitGUID = UnitGUID
48-
local GetSpellInfo = C_Spell.GetSpellInfo or GetSpellInfo
48+
local GetSpellInfo = (C_Spell and C_Spell.GetSpellInfo) or GetSpellInfo
4949
local UnitCastingInfo = UnitCastingInfo
5050
local UnitRangedDamage = UnitRangedDamage
5151
local UnitAttackSpeed = UnitAttackSpeed

ElvUI_Options/Core/StyleFilters.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ local GetDifficultyInfo = GetDifficultyInfo
1515
local GetInstanceInfo = GetInstanceInfo
1616
local GetRealZoneText = GetRealZoneText
1717
local GetSpellInfo = C_Spell and C_Spell.GetSpellInfo or GetSpellInfo
18-
local GetSpellTexture = C_Spell and C_Spell.GetSpellTexture or GetSpellInfo
18+
local GetSpellTexture = C_Spell and C_Spell.GetSpellTexture or GetSpellTexture
1919
local tIndexOf = tIndexOf
2020

2121
local C_Map_GetMapInfo = C_Map.GetMapInfo

0 commit comments

Comments
 (0)