Core/Auras: restrict target map update only to area auras as player requires to have auras registered on load
Port From (https://github.com/TrinityCore/TrinityCore/commit/8e7a12a87aa6502b7bf9adc42478283859f9268a)
This commit is contained in:
@@ -2547,6 +2547,10 @@ namespace Game.Spells
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
// skip area update if owner is not in world!
|
||||||
|
if (!GetUnitOwner().IsInWorld)
|
||||||
|
continue;
|
||||||
|
|
||||||
float radius = effect.CalcRadius(caster);
|
float radius = effect.CalcRadius(caster);
|
||||||
|
|
||||||
if (!GetUnitOwner().HasUnitState(UnitState.Isolated))
|
if (!GetUnitOwner().HasUnitState(UnitState.Isolated))
|
||||||
|
|||||||
Reference in New Issue
Block a user