From 5c6027d97ffa912feecf311535f0bcbadaf8fc29 Mon Sep 17 00:00:00 2001 From: hondacrx Date: Wed, 21 Feb 2024 17:48:07 -0500 Subject: [PATCH] Core/Spells: Fixed duplicate SMSG_SPELL_EXECUTE_LOG being sent if there are effects handled on spell launch (such as summoning) Port From (https://github.com/TrinityCore/TrinityCore/commit/e88a88476cc5e22adecda14a3eeacbcfe4eeb197) --- Source/Game/Spells/Spell.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Source/Game/Spells/Spell.cs b/Source/Game/Spells/Spell.cs index fb015dd7e..a47a6d6a2 100644 --- a/Source/Game/Spells/Spell.cs +++ b/Source/Game/Spells/Spell.cs @@ -4187,6 +4187,8 @@ namespace Game.Spells spellExecuteLog.LogData.Initialize(this); m_caster.SendCombatLogMessage(spellExecuteLog); + + _executeLogEffects.Clear(); } public SpellLogEffect GetExecuteLogEffect(SpellEffectName effect)