diff --git a/PetCare.lua b/PetCare.lua index e1fd0a7..17dc02a 100644 --- a/PetCare.lua +++ b/PetCare.lua @@ -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 diff --git a/RelNotes.lua b/RelNotes.lua index 54c14c3..a2ebeab 100644 --- a/RelNotes.lua +++ b/RelNotes.lua @@ -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