mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-05-02 00:47:45 +00:00
Fixed misleading debug print
This commit is contained in:
parent
9038d0f19f
commit
3691d324f6
1 changed files with 1 additions and 2 deletions
|
@ -996,8 +996,7 @@ void Sapphire::Entity::Player::setLookAt( uint8_t index, uint8_t value )
|
||||||
// spawn this player for pTarget
|
// spawn this player for pTarget
|
||||||
void Sapphire::Entity::Player::spawn( Entity::PlayerPtr pTarget )
|
void Sapphire::Entity::Player::spawn( Entity::PlayerPtr pTarget )
|
||||||
{
|
{
|
||||||
Logger::debug( "[{0}] Spawning {1} for {2}", pTarget->getId(), getName(), pTarget->getName() );
|
Logger::debug( "Spawning {0} for {1}", getName(), pTarget->getName() );
|
||||||
|
|
||||||
auto spawnPacket = std::make_shared< PlayerSpawnPacket >( *this, *pTarget );
|
auto spawnPacket = std::make_shared< PlayerSpawnPacket >( *this, *pTarget );
|
||||||
pTarget->queuePacket( spawnPacket );
|
pTarget->queuePacket( spawnPacket );
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue