fix(Core/Handlers): potential falling to death on teleport (#23867)
This commit is contained in:
parent
e0e0af6b98
commit
77349fde48
1 changed files with 2 additions and 0 deletions
|
|
@ -299,6 +299,8 @@ void WorldSession::HandleMoveTeleportAck(WorldPacket& recvData)
|
|||
|
||||
plMover->UpdatePosition(dest, true);
|
||||
|
||||
plMover->SetFallInformation(GameTime::GetGameTime().count(), dest.GetPositionZ());
|
||||
|
||||
// xinef: teleport pets if they are not unsummoned
|
||||
if (Pet* pet = plMover->GetPet())
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue