minor changes

This commit is contained in:
2026-03-17 23:08:56 +03:00
parent d15051aab6
commit 4769d4ae72
4 changed files with 5 additions and 6 deletions

View File

@@ -1330,7 +1330,7 @@ void Minecraft::hostMultiplayer(int port) {
#if !defined(NO_NETWORK)
netCallback = new ServerSideNetworkHandler(this, raknetInstance);
#ifdef STANDALONE_SERVER
raknetInstance->host(options.getStringValue(OPTIONS_USERNAME), port, 16);
raknetInstance->host("Server", port, 16);
#else
raknetInstance->host(options.getStringValue(OPTIONS_USERNAME), port);
#endif