mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-13 09:17:18 +00:00
fix(Core/Pets): Master Demonologist should not be removed on pet resummon. (#9317)
Fixes #8994
This commit is contained in:
@@ -3235,7 +3235,7 @@ void Spell::EffectSummonPet(SpellEffIndex effIndex)
|
||||
for (Unit::AuraApplicationMap::iterator i = myAuras.begin(); i != myAuras.end();)
|
||||
{
|
||||
Aura const* aura = i->second->GetBase();
|
||||
if (!aura->IsPassive() && aura->CanBeSentToClient())
|
||||
if (!aura->IsPassive() && !OldSummon->IsPetAura(aura) && aura->CanBeSentToClient())
|
||||
OldSummon->RemoveAura(i);
|
||||
else
|
||||
++i;
|
||||
|
||||
Reference in New Issue
Block a user