Support for the widest array of network configurations. Auto-configure as best we can.

This commit is contained in:
MagicBot committed 2023-07-23 12:58:40 -04:00
1 parent e57ce5b36e
commit 43090a9bd1
4 files changed
+36 -5

No files matched your search

@@ -36,7 +36,7 @@ public class GameServerIPResponseMsg extends ClientNetMsg {
*/
public GameServerIPResponseMsg() {
super(Protocol.GAMESERVERIPRESPONSE);
this.ip = ConfigManager.MB_BIND_ADDR.getValue();
this.ip = ConfigManager.MB_EXTERNAL_ADDR.getValue();
this.port = Integer.parseInt(ConfigManager.MB_WORLD_PORT.getValue());
}