From 1ee80f9697346b8301984485049bfc4409ce2180 Mon Sep 17 00:00:00 2001 From: MagicBot Date: Fri, 11 Aug 2023 09:44:16 -0400 Subject: [PATCH] Bugfix in console port output. --- src/engine/server/login/LoginServer.java | 2 +- src/engine/server/world/WorldServer.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/engine/server/login/LoginServer.java b/src/engine/server/login/LoginServer.java index 3b97f412..cdaaf1d3 100644 --- a/src/engine/server/login/LoginServer.java +++ b/src/engine/server/login/LoginServer.java @@ -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()); diff --git a/src/engine/server/world/WorldServer.java b/src/engine/server/world/WorldServer.java index f08a93ea..db9049f6 100644 --- a/src/engine/server/world/WorldServer.java +++ b/src/engine/server/world/WorldServer.java @@ -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());