diff options
| author | Sylvessa <225480449+sylvessa@users.noreply.github.com> | 2026-03-24 04:04:07 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-03-24 05:04:07 -0400 |
| commit | 993052409a2ff6c997aea77f8f8fe143d08f5993 (patch) | |
| tree | 022e5c18632e86d272c3d0a02532b110c8dbb956 /Minecraft.Client/TrackedEntity.cpp | |
| parent | ed9cbae3f7cdcb8596b508f30075670e728655c6 (diff) | |
Fix XUID logging (#1395)
* pass invalid_xuid to other players
* actually more simple fix
Diffstat (limited to 'Minecraft.Client/TrackedEntity.cpp')
| -rw-r--r-- | Minecraft.Client/TrackedEntity.cpp | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/Minecraft.Client/TrackedEntity.cpp b/Minecraft.Client/TrackedEntity.cpp index 3aa33248..38075044 100644 --- a/Minecraft.Client/TrackedEntity.cpp +++ b/Minecraft.Client/TrackedEntity.cpp @@ -653,11 +653,12 @@ shared_ptr<Packet> TrackedEntity::getAddEntityPacket() PlayerUID xuid = INVALID_XUID; PlayerUID OnlineXuid = INVALID_XUID; - if( player != nullptr ) - { - xuid = player->getXuid(); - OnlineXuid = player->getOnlineXuid(); - } + // do not pass xuid/onlinxuid to cleints + //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); } |
