1
Fork 0
mirror of https://github.com/SapphireServer/Sapphire.git synced 2025-06-13 19:07:45 +00:00

Set companion details on spawn

This commit is contained in:
Mordred 2021-11-30 16:29:21 +01:00
parent 8781b3a024
commit e845f03ba4

View file

@ -78,8 +78,8 @@ namespace Sapphire::Network::Packets::WorldPackets::Server
m_data.Title = player.getTitle();
m_data.Voice = player.getVoiceId();
//m_data.activeMinion = player.getCurrentCompanion();
//m_data.activeMinion = 0;
m_data.Companion = player.getCurrentCompanion();
m_data.Mount.Id = player.getCurrentMount();
m_data.OnlineStatus = static_cast< uint8_t >( player.getOnlineStatus() );
@ -90,7 +90,7 @@ namespace Sapphire::Network::Packets::WorldPackets::Server
m_data.ObjType = 4;
if( target.getId() == player.getId() )
{
m_data.Index = 0x00;
m_data.Index = 0;
}
else
{