Debug mode for the non existent SSO message

This commit is contained in:
ArpyAge 2021-10-09 00:22:16 +02:00
parent 7b1e94cf17
commit 3ab32b6850

View File

@ -73,7 +73,9 @@ public class SecureLoginEvent extends MessageHandler {
if (sso.isEmpty()) {
Emulator.getGameServer().getGameClientManager().disposeClient(this.client);
LOGGER.warn("Client is trying to connect without SSO ticket! Closed connection...");
if (Emulator.getConfig().getBoolean("debug.mode")) {
LOGGER.warn("Client is trying to connect without SSO ticket! Closed connection...");
}
return;
}