mirror of
https://github.com/smartcmd/MinecraftConsoles.git
synced 2026-06-06 05:33:29 +02:00
Fix XUID logging (#1395)
* pass invalid_xuid to other players * actually more simple fix
This commit is contained in:
@@ -653,11 +653,12 @@ shared_ptr<Packet> TrackedEntity::getAddEntityPacket()
|
|||||||
|
|
||||||
PlayerUID xuid = INVALID_XUID;
|
PlayerUID xuid = INVALID_XUID;
|
||||||
PlayerUID OnlineXuid = INVALID_XUID;
|
PlayerUID OnlineXuid = INVALID_XUID;
|
||||||
if( player != nullptr )
|
// do not pass xuid/onlinxuid to cleints
|
||||||
{
|
//if( player != nullptr )
|
||||||
xuid = player->getXuid();
|
//{
|
||||||
OnlineXuid = player->getOnlineXuid();
|
// 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.
|
// 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);
|
return std::make_shared<AddPlayerPacket>(player, xuid, OnlineXuid, xp, yp, zp, yRotp, xRotp, yHeadRotp);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user