From bf0c12ab0cef929c304ccf6337e66d479b74f3ea Mon Sep 17 00:00:00 2001 From: hondacrx Date: Tue, 24 May 2022 12:50:07 -0400 Subject: [PATCH] Core/Aura: Fixed thread-unsafe return from Aura::GetCaster() Port From (https://github.com/TrinityCore/TrinityCore/commit/58ce0904aa08411570bb600c1604dc1fc0d01ac3) --- Source/Game/Spells/Auras/Aura.cs | 3 --- 1 file changed, 3 deletions(-) diff --git a/Source/Game/Spells/Auras/Aura.cs b/Source/Game/Spells/Auras/Aura.cs index 45d41d457..586ea3ce0 100644 --- a/Source/Game/Spells/Auras/Aura.cs +++ b/Source/Game/Spells/Auras/Aura.cs @@ -405,9 +405,6 @@ namespace Game.Spells { if (m_owner.GetGUID() == m_casterGuid) return GetUnitOwner(); - AuraApplication aurApp = GetApplicationOfTarget(m_casterGuid); - if (aurApp != null) - return aurApp.GetTarget(); return Global.ObjAccessor.GetUnit(m_owner, m_casterGuid); }