Skip to content
This repository has been archived by the owner on Jan 18, 2024. It is now read-only.

Commit

Permalink
Core/Pets: added missing pet guid assignment for stored auras that go…
Browse files Browse the repository at this point in the history
… without auras
  • Loading branch information
Ovahlord committed Oct 16, 2023
1 parent 67c2790 commit 80d2eae
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -472,7 +472,7 @@ void NewPet::ApplySavedAuras(PlayerPetData* petData)

AuraCreateInfo createInfo(spellInfo, petAura.EffectMask, this);
createInfo
.SetCasterGUID(petAura.CasterGuid)
.SetCasterGUID(petAura.CasterGuid.IsEmpty() ? GetGUID() : petAura.CasterGuid)
.SetBaseAmount(petAura.BaseAmount.data());

if (Aura* aura = Aura::TryCreate(createInfo))
Expand Down

0 comments on commit 80d2eae

Please sign in to comment.