Merge remote-tracking branch 'upstream/main' into linux-clang-support

# Conflicts:
#	Minecraft.Client/Common/UI/UIScene_ConnectingProgress.cpp
This commit is contained in:
ryleu 2026-03-30 15:57:13 -05:00
commit 7dd1e75b33
No known key found for this signature in database
21 changed files with 653 additions and 49 deletions

View file

@ -653,11 +653,14 @@ shared_ptr<Packet> TrackedEntity::getAddEntityPacket()
PlayerUID xuid = INVALID_XUID;
PlayerUID OnlineXuid = INVALID_XUID;
// do not pass xuid/onlinexuid to clients if dedicated server
#ifndef MINECRAFT_SERVER_BUILD
if( player != nullptr )
{
xuid = player->getXuid();
OnlineXuid = player->getOnlineXuid();
}
#endif
// 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);
}