diff options
| author | lspepinho <162769565+lspepinho@users.noreply.github.com> | 2026-03-02 20:30:22 -0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-03-03 06:30:22 +0700 |
| commit | 8b28c20d7adc3824f96fbcc34ad65d778a97a05b (patch) | |
| tree | e61705a557e4e064d707ec542c53dbdac1acbe09 /Minecraft.Client/ClientConnection.cpp | |
| parent | 15129932da9442c2815974c519258345b22d5588 (diff) | |
Fixes for PR #96 (#170)
* Implement basic multiplayer functionality
* Update README.md
---------
Co-authored-by: Slenderman <ssimulpong@outlook.com>
Diffstat (limited to 'Minecraft.Client/ClientConnection.cpp')
| -rw-r--r-- | Minecraft.Client/ClientConnection.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Minecraft.Client/ClientConnection.cpp b/Minecraft.Client/ClientConnection.cpp index 52cec351..f3510d33 100644 --- a/Minecraft.Client/ClientConnection.cpp +++ b/Minecraft.Client/ClientConnection.cpp @@ -757,7 +757,7 @@ void ClientConnection::handleAddPlayer(shared_ptr<AddPlayerPacket> packet) return; } } -#ifdef _WINDOWS64 +/*#ifdef _WINDOWS64 // On Windows64 all XUIDs are INVALID_XUID so the XUID check above never fires. // packet->m_playerIndex is the server-assigned sequential index (set via LoginPacket), // NOT the controller slot — so we must scan all local player slots and match by @@ -771,7 +771,7 @@ void ClientConnection::handleAddPlayer(shared_ptr<AddPlayerPacket> packet) return; } } -#endif +#endif*/ double x = packet->x / 32.0; double y = packet->y / 32.0; |
