bugfix: Pass MB_WORLD_PORT to isPortInUse()
This commit is contained in:
1 parent
2af224c90f
commit
cb279a5d5a
2 files changed
+2
-19
No files matched your search
@@ -27,8 +27,8 @@ public class StatusRequestHandler {
|
||||
// Add server status info
|
||||
outString += "\nServer Status: ";
|
||||
|
||||
if (LoginServer.isPortInUse(Integer.parseInt(ConfigManager.MB_BIND_ADDR.getValue())))
|
||||
outString += "ONLINE\n";
|
||||
if (LoginServer.isPortInUse(Integer.parseInt(ConfigManager.MB_WORLD_PORT.getValue())))
|
||||
outString += "ONLINE\n";
|
||||
else
|
||||
outString += "OFFLINE\n";
|
||||
|
||||
|
||||
Reference in new issue
Block a user