* Improve the DirectConnectScreen, among other things.

This commit is contained in:
iProgramInCpp
2023-08-06 13:50:17 +03:00
parent bc407fda47
commit 6d8693ada5
6 changed files with 140 additions and 40 deletions

View File

@@ -506,8 +506,7 @@ void Minecraft::sendMessage(const std::string& message)
if (isOnlineClient())
{
// send the server a message packet
MessagePacket mp(message);
m_pRakNetInstance->send(&mp);
m_pRakNetInstance->send(new MessagePacket(message));
}
else
{