Core/Player: Fix teleporting FlyPath dismounting the player
Port From (https://github.com/TrinityCore/TrinityCore/commit/2d7ec53330bda17704cf46a88785f40b95ce3bfb)
This commit is contained in:
@@ -1661,7 +1661,8 @@ namespace Game.Entities
|
||||
SetUnitMovementFlags(GetUnitMovementFlags() & MovementFlag.MaskHasPlayerStatusOpcode);
|
||||
m_movementInfo.ResetJump();
|
||||
DisableSpline();
|
||||
GetMotionMaster().Clear();
|
||||
if (!IsInFlight())
|
||||
GetMotionMaster().Clear();
|
||||
|
||||
Transport transport = GetTransport();
|
||||
if (transport)
|
||||
|
||||
Reference in New Issue
Block a user