Scripts/Spells: Druid Travel Form freeze fix
Port From (https://github.com/TrinityCore/TrinityCore/commit/414338a27b2468f29c5bded607b8cbc145050ba9)
This commit is contained in:
@@ -805,6 +805,9 @@ namespace Scripts.Spells.Druid
|
|||||||
|
|
||||||
void AfterRemove(AuraEffect aurEff, AuraEffectHandleModes mode)
|
void AfterRemove(AuraEffect aurEff, AuraEffectHandleModes mode)
|
||||||
{
|
{
|
||||||
|
if (triggeredSpellId == m_scriptSpellId)
|
||||||
|
return;
|
||||||
|
|
||||||
Player player = GetTarget().ToPlayer();
|
Player player = GetTarget().ToPlayer();
|
||||||
|
|
||||||
if (triggeredSpellId != 0) // Apply new form
|
if (triggeredSpellId != 0) // Apply new form
|
||||||
|
|||||||
Reference in New Issue
Block a user