fix(Core/Handlers): potential falling to death on teleport (#23867)

This commit is contained in:
sogladev 2025-11-29 21:47:30 +01:00 committed by GitHub
parent e0e0af6b98
commit 77349fde48
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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())
{