mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-05-06 18:57: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();
|
initPacket->data().playerActorId = getId();
|
||||||
queuePacket( initPacket );
|
queuePacket( initPacket );
|
||||||
|
|
||||||
sendStatusUpdate();
|
|
||||||
sendInventory();
|
sendInventory();
|
||||||
|
|
||||||
if( isLogin() )
|
if( isLogin() )
|
||||||
|
@ -1524,7 +1523,6 @@ void Player::sendZonePackets()
|
||||||
sendHuntingLog();
|
sendHuntingLog();
|
||||||
|
|
||||||
sendStats();
|
sendStats();
|
||||||
sendStatusUpdate();
|
|
||||||
|
|
||||||
// only initialize the UI if the player in fact just logged in.
|
// only initialize the UI if the player in fact just logged in.
|
||||||
if( isLogin() )
|
if( isLogin() )
|
||||||
|
|
|
@ -85,7 +85,6 @@ 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 );
|
||||||
|
|
|
@ -594,7 +594,6 @@ void Sapphire::Network::GameConnection::commandHandler( const Packets::FFXIVARR_
|
||||||
auto& warpMgr = Service< WarpMgr >::ref();
|
auto& warpMgr = Service< WarpMgr >::ref();
|
||||||
warpMgr.finishWarp( player );
|
warpMgr.finishWarp( player );
|
||||||
player.setLoadingComplete( true );
|
player.setLoadingComplete( true );
|
||||||
Service< World::Manager::PlayerMgr >::ref().onEquipDisplayFlagsChanged( player );
|
|
||||||
if( player.isLogin() )
|
if( player.isLogin() )
|
||||||
player.setIsLogin( false );
|
player.setIsLogin( false );
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Add table
Reference in a new issue