mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-13 09:17:18 +00:00
fix(Core/Handlers): potential falling to death on teleport (#23867)
This commit is contained in:
@@ -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())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user