Scripts/Spells: Druid Travel Form freeze fix

Port From (https://github.com/TrinityCore/TrinityCore/commit/414338a27b2468f29c5bded607b8cbc145050ba9)
This commit is contained in:
hondacrx
2021-02-13 20:42:32 -05:00
parent 307f07eeb9
commit 16c22be60e
+3
View File
@@ -805,6 +805,9 @@ namespace Scripts.Spells.Druid
void AfterRemove(AuraEffect aurEff, AuraEffectHandleModes mode)
{
if (triggeredSpellId == m_scriptSpellId)
return;
Player player = GetTarget().ToPlayer();
if (triggeredSpellId != 0) // Apply new form