Browse Source

Bugfix in console port output.

master
MagicBot 1 year ago
parent
commit
1ee80f9697
  1. 2
      src/engine/server/login/LoginServer.java
  2. 2
      src/engine/server/world/WorldServer.java

2
src/engine/server/login/LoginServer.java

@ -357,7 +357,7 @@ public class LoginServer { @@ -357,7 +357,7 @@ public class LoginServer {
}
Logger.info("External address: " + ConfigManager.MB_EXTERNAL_ADDR.getValue() + ":" + ConfigManager.MB_WORLD_PORT.getValue());
Logger.info("External address: " + ConfigManager.MB_EXTERNAL_ADDR.getValue() + ":" + ConfigManager.MB_LOGIN_PORT.getValue());
Logger.info("Internal address: " + ConfigManager.MB_BIND_ADDR.getValue() + ":" + ConfigManager.MB_LOGIN_PORT.getValue());
InetAddress addy = InetAddress.getByName(ConfigManager.MB_BIND_ADDR.getValue());

2
src/engine/server/world/WorldServer.java

@ -272,7 +272,7 @@ public class WorldServer { @@ -272,7 +272,7 @@ public class WorldServer {
}
Logger.info("External address: " + ConfigManager.MB_EXTERNAL_ADDR.getValue() + ":" + ConfigManager.MB_WORLD_PORT.getValue());
Logger.info("Internal address: " + ConfigManager.MB_BIND_ADDR.getValue() + ":" + ConfigManager.MB_LOGIN_PORT.getValue());
Logger.info("Internal address: " + ConfigManager.MB_BIND_ADDR.getValue() + ":" + ConfigManager.MB_WORLD_PORT.getValue());
InetAddress addy = InetAddress.getByName(ConfigManager.MB_BIND_ADDR.getValue());
int port = Integer.parseInt(ConfigManager.MB_WORLD_PORT.getValue());

Loading…
Cancel
Save