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

This commit is contained in:
2023-07-23 12:58:40 -04:00
parent e57ce5b36e
commit 43090a9bd1
4 changed files with 36 additions and 5 deletions
@@ -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());
}