Core/Spells: Don't save channeled auras (#20923)

(cherry picked from commit 5b7e4efcc4db8c4f1fb25bbdf7cfca60dfb776dc)
This commit is contained in:
Gustavo
2021-02-15 19:13:25 +01:00
committed by funjoker
parent 875c5bcade
commit 56cd9de144
@@ -995,6 +995,9 @@ bool Aura::CanBeSaved() const
if (IsPassive())
return false;
if (GetSpellInfo()->IsChanneled())
return false;
// Check if aura is single target, not only spell info
if (GetCasterGUID() != GetOwner()->GetGUID() || IsSingleTarget())
if (GetSpellInfo()->IsSingleTarget())