Skip to content

Commit

Permalink
Fix: UnitBuff error
Browse files Browse the repository at this point in the history
  • Loading branch information
Alar of Runetotem committed Aug 18, 2024
1 parent 9f8db39 commit 00340e1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion PetCare.lua
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ local function HasBuff(unit,id,filter)
filter = filter or "CANCELABLE"
local index,res=1,true
while res do
res=select(10,UnitBuff(unit,index,filter))
res=select(10,C_UnitAuras.GetBuffDataByIndex(unit,index,filter))
if res and res == id then return index end
index=index+1
end
Expand Down
3 changes: 2 additions & 1 deletion RelNotes.lua
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,9 @@ can play a sound if you enter a non PVP instance with Growl active
alerts can be disabled in PVP
]])
self:HF_Paragraph("Release Notes")
self:RelNotes(6,10,3,[[
self:RelNotes(6,10,4,[[
Fix: was not loading
Fix: UnitBuff error
]])
self:RelNotes(6,10,2,[[
Library update
Expand Down

0 comments on commit 00340e1

Please sign in to comment.