mirror of
https://github.com/neoStudiosLCE/neoLegacy.git
synced 2026-08-20 09:57:09 +00:00
fix: duplicate join message on FourKit servers
This commit is contained in:
parent
b4a34df1a9
commit
c297b26f36
|
|
@ -327,7 +327,9 @@ bool PlayerList::placeNewPlayer(Connection *connection, shared_ptr<ServerPlayer>
|
||||||
|
|
||||||
// 4J-PB - removed, since it needs to be localised in the language the client is in
|
// 4J-PB - removed, since it needs to be localised in the language the client is in
|
||||||
//server->players->broadcastAll( shared_ptr<ChatPacket>( new ChatPacket(L"<22>e" + playerEntity->name + L" joined the game.") ) );
|
//server->players->broadcastAll( shared_ptr<ChatPacket>( new ChatPacket(L"<22>e" + playerEntity->name + L" joined the game.") ) );
|
||||||
|
#if !(defined(_WINDOWS64) && defined(MINECRAFT_SERVER_BUILD))
|
||||||
broadcastAll(std::make_shared<ChatPacket>(player->name, ChatPacket::e_ChatPlayerJoinedGame));
|
broadcastAll(std::make_shared<ChatPacket>(player->name, ChatPacket::e_ChatPlayerJoinedGame));
|
||||||
|
#endif
|
||||||
|
|
||||||
MemSect(14);
|
MemSect(14);
|
||||||
add(player);
|
add(player);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue