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

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