From bfd44a494d4e021df94b448577d0abbe5640cdfe Mon Sep 17 00:00:00 2001 From: hondacrx Date: Mon, 9 Aug 2021 09:25:37 -0400 Subject: [PATCH] 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) --- Source/Game/Spells/Auras/Aura.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Source/Game/Spells/Auras/Aura.cs b/Source/Game/Spells/Auras/Aura.cs index a053b954a..201bfc3f4 100644 --- a/Source/Game/Spells/Auras/Aura.cs +++ b/Source/Game/Spells/Auras/Aura.cs @@ -2547,6 +2547,10 @@ namespace Game.Spells } else { + // skip area update if owner is not in world! + if (!GetUnitOwner().IsInWorld) + continue; + float radius = effect.CalcRadius(caster); if (!GetUnitOwner().HasUnitState(UnitState.Isolated))