Skip to content

Commit

Permalink
fix: update for The War Within
Browse files Browse the repository at this point in the history
  • Loading branch information
Rainrider committed Aug 30, 2024
1 parent b54647d commit d71d8aa
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .luacheckrc
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ read_globals = {

-- API
C_UnitAuras = {
fields = { 'GetAuraByAuraInstanceID', 'GetAuraDataBySlot' }
fields = { 'GetAuraByAuraInstanceID', 'GetAuraDataBySlot', 'GetAuraSlots' }
},
'CreateFrame',
'IsPlayerSpell',
Expand Down
2 changes: 1 addition & 1 deletion oUF_Dispellable.lua
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ local function UpdateDebuffs(self, updateInfo)

if not updateInfo or updateInfo.isFullUpdate then
wipe(debuffs)
local slots = { UnitAuraSlots(unit, 'HARMFUL') }
local slots = { C_UnitAuras.GetAuraSlots(unit, 'HARMFUL') }

for i = 2, #slots do
local debuff = C_UnitAuras.GetAuraDataBySlot(unit, slots[i])
Expand Down
2 changes: 1 addition & 1 deletion oUF_Dispellable.toc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## Interface: 100005
## Interface: 110002
## Title: oUF_Dispellable
## Notes: oUF element for highlighting debuffs that are dispellable by the player
## Author: Rainrider
Expand Down

0 comments on commit d71d8aa

Please sign in to comment.