Add debug logging for logout effects

This commit is contained in:
2025-04-10 00:23:51 -07:00
parent be16b4e378
commit f9152ca57d
+6 -2
View File
@@ -218,10 +218,14 @@ public class ClientConnection extends AbstractConnection {
super.disconnect();
try {
if (ConfigManager.serverType.equals(Enum.ServerType.WORLDSERVER))
if (ConfigManager.serverType.equals(Enum.ServerType.WORLDSERVER)) {
Logger.info("ClientConnection.disconnect(): Calling WorldServer.removeClient()");
ConfigManager.worldServer.removeClient(this);
else
} else {
Logger.info("ClientConnection.disconnect(): Calling LoginServer.removeClient()");
ConfigManager.loginServer.removeClient(this);
}
// TODO There has to be a more direct way to do this...
SessionManager.remSession(