fix(Core/Players): remove shapeshift auras on taxi restore (#7292)

- Closes #7240
This commit is contained in:
UltraNix
2021-08-15 23:32:55 +02:00
committed by GitHub
parent faef417d92
commit 723dbbff58

View File

@@ -9721,6 +9721,11 @@ void Player::ContinueTaxiFlight()
return;
}
if (IsInDisallowedMountForm())
{
RemoveAurasByType(SPELL_AURA_MOD_SHAPESHIFT);
}
GetSession()->SendDoFlight(mountDisplayId, path, startNode);
}