mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-05-06 10:47:45 +00:00
Remove status updates in unnecessary places
(cherry picked from commit 12f68b62690861675daa2436630f33518c39b7f7)
This commit is contained in:
parent
7166526341
commit
a35455a4f4
3 changed files with 0 additions and 4 deletions
|
@ -1507,7 +1507,6 @@ void Player::sendZonePackets()
|
|||
initPacket->data().playerActorId = getId();
|
||||
queuePacket( initPacket );
|
||||
|
||||
sendStatusUpdate();
|
||||
sendInventory();
|
||||
|
||||
if( isLogin() )
|
||||
|
@ -1524,7 +1523,6 @@ void Player::sendZonePackets()
|
|||
sendHuntingLog();
|
||||
|
||||
sendStats();
|
||||
sendStatusUpdate();
|
||||
|
||||
// only initialize the UI if the player in fact just logged in.
|
||||
if( isLogin() )
|
||||
|
|
|
@ -85,7 +85,6 @@ void WarpMgr::finishWarp( Entity::Player& player )
|
|||
player.sendToInRangeSet( zoneInPacket );
|
||||
|
||||
player.sendToInRangeSet( SetStatusPacket, true );
|
||||
player.sendStatusUpdate();
|
||||
|
||||
auto& server = Common::Service< WorldServer >::ref();
|
||||
server.queueForPlayer( player.getCharacterId(), zoneInPacket );
|
||||
|
|
|
@ -594,7 +594,6 @@ void Sapphire::Network::GameConnection::commandHandler( const Packets::FFXIVARR_
|
|||
auto& warpMgr = Service< WarpMgr >::ref();
|
||||
warpMgr.finishWarp( player );
|
||||
player.setLoadingComplete( true );
|
||||
Service< World::Manager::PlayerMgr >::ref().onEquipDisplayFlagsChanged( player );
|
||||
if( player.isLogin() )
|
||||
player.setIsLogin( false );
|
||||
break;
|
||||
|
|
Loading…
Add table
Reference in a new issue