Merge remote-tracking branch 'mclce/main' into feature/plugin-api

This commit is contained in:
sylvessa 2026-04-13 20:57:47 -05:00
commit 66bc1a32ee
55 changed files with 435 additions and 130 deletions

View file

@ -926,8 +926,7 @@ void PlayerConnection::handleChat(shared_ptr<ChatPacket> packet)
}
#else
wstring formatted = L"<" + player->name + L"> " + message;
server->getPlayers()->broadcastAll(shared_ptr<ChatPacket>(new ChatPacket(formatted)));
#endif
server->getPlayers()->broadcastAll(shared_ptr<ChatPacket>(new ChatPacket(app.FormatChatMessage(formatted, false))));
chatSpamTickCount += SharedConstants::TICKS_PER_SECOND;
if (chatSpamTickCount > SharedConstants::TICKS_PER_SECOND * 10)
{