idTip Community Fork

idTip Community Fork

25.9k Downloads

Deprecated global.

Tga123 opened this issue ยท 1 comments

commented

In .\clients\shared.lua:

(246  )     local petIndex = C_PetBattles.GetActivePet(LE_BATTLE_PET_ALLY)
(248  )       local id = select(1, C_PetBattles.GetAbilityInfo(LE_BATTLE_PET_ALLY, petIndex, self:GetID()))

LE_BATTLE_PET_ALLY be deprecated in 9.1.0, and removed in 10.0.

But C_PetBattles.GetActivePet() and C_PetBattles.GetAbilityInfo() not producing errors, just return incorrect values.

Now need use Enum.BattlePetOwner.Ally instead.