From c297b26f362f32b34ce7dcf6e2e2efe94bb8ae62 Mon Sep 17 00:00:00 2001 From: itsRevela Date: Sat, 18 Apr 2026 09:10:47 -0500 Subject: [PATCH] fix: duplicate join message on FourKit servers --- Minecraft.Client/PlayerList.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Minecraft.Client/PlayerList.cpp b/Minecraft.Client/PlayerList.cpp index c79c0cfe..edbfe7ac 100644 --- a/Minecraft.Client/PlayerList.cpp +++ b/Minecraft.Client/PlayerList.cpp @@ -327,7 +327,9 @@ bool PlayerList::placeNewPlayer(Connection *connection, shared_ptr // 4J-PB - removed, since it needs to be localised in the language the client is in //server->players->broadcastAll( shared_ptr( new ChatPacket(L"�e" + playerEntity->name + L" joined the game.") ) ); +#if !(defined(_WINDOWS64) && defined(MINECRAFT_SERVER_BUILD)) broadcastAll(std::make_shared(player->name, ChatPacket::e_ChatPlayerJoinedGame)); +#endif MemSect(14); add(player);