mirror of
https://github.com/smartcmd/MinecraftConsoles.git
synced 2026-04-25 00:17:42 +00:00
add xuid log fix (temp, will remove when actual auth impl)
This commit is contained in:
parent
a0be612f48
commit
f60d75dabb
|
|
@ -653,11 +653,11 @@ shared_ptr<Packet> TrackedEntity::getAddEntityPacket()
|
|||
|
||||
PlayerUID xuid = INVALID_XUID;
|
||||
PlayerUID OnlineXuid = INVALID_XUID;
|
||||
if( player != nullptr )
|
||||
{
|
||||
xuid = player->getXuid();
|
||||
OnlineXuid = player->getOnlineXuid();
|
||||
}
|
||||
//if( player != nullptr )
|
||||
//{
|
||||
// xuid = player->getXuid();
|
||||
// OnlineXuid = player->getOnlineXuid();
|
||||
//}
|
||||
// 4J Added yHeadRotp param to fix #102563 - TU12: Content: Gameplay: When one of the Players is idle for a few minutes his head turns 180 degrees.
|
||||
return std::make_shared<AddPlayerPacket>(player, xuid, OnlineXuid, xp, yp, zp, yRotp, xRotp, yHeadRotp);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue