Browse Source

Add debug logging for logout effects

BattleBane
BadBird 2 weeks ago
parent
commit
f9152ca57d
  1. 8
      src/engine/net/client/ClientConnection.java

8
src/engine/net/client/ClientConnection.java

@ -218,10 +218,14 @@ public class ClientConnection extends AbstractConnection { @@ -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(

Loading…
Cancel
Save