1
Fork 0
mirror of https://github.com/SapphireServer/Sapphire.git synced 2025-04-29 07:37:45 +00:00

Finally fix TP being stuck at 0

This commit is contained in:
Lucy 2023-01-19 19:51:31 +01:00
parent 2ac2ec1ea2
commit 6580fe1721
2 changed files with 2 additions and 0 deletions

View file

@ -1497,6 +1497,7 @@ void Player::sendZonePackets()
initPacket->data().playerActorId = getId(); initPacket->data().playerActorId = getId();
queuePacket( initPacket ); queuePacket( initPacket );
sendStatusUpdate();
sendInventory(); sendInventory();
if( isLogin() ) if( isLogin() )

View file

@ -85,6 +85,7 @@ void WarpMgr::finishWarp( Entity::Player& player )
player.sendToInRangeSet( zoneInPacket ); player.sendToInRangeSet( zoneInPacket );
player.sendToInRangeSet( SetStatusPacket, true ); player.sendToInRangeSet( SetStatusPacket, true );
player.sendStatusUpdate();
auto& server = Common::Service< WorldServer >::ref(); auto& server = Common::Service< WorldServer >::ref();
server.queueForPlayer( player.getCharacterId(), zoneInPacket ); server.queueForPlayer( player.getCharacterId(), zoneInPacket );