diff --git a/Minecraft.Client/TrackedEntity.cpp b/Minecraft.Client/TrackedEntity.cpp index 98092c82b..380750449 100644 --- a/Minecraft.Client/TrackedEntity.cpp +++ b/Minecraft.Client/TrackedEntity.cpp @@ -519,17 +519,6 @@ void TrackedEntity::updatePlayer(EntityTracker *tracker, shared_ptr packet = getAddEntityPacket(); - - if (e->instanceof(eTYPE_SERVERPLAYER)) - { - shared_ptr addPlayerPkt = dynamic_pointer_cast(packet); - if (addPlayerPkt != nullptr) - { - addPlayerPkt->xuid = INVALID_XUID; - addPlayerPkt->OnlineXuid = INVALID_XUID; - } - } - sp->connection->send(packet); xap = e->xd; @@ -664,11 +653,12 @@ shared_ptr 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(player, xuid, OnlineXuid, xp, yp, zp, yRotp, xRotp, yHeadRotp); }