From 31d6483c72cf55253d931a023464a10aa8534822 Mon Sep 17 00:00:00 2001 From: kirillsaint Date: Mon, 3 Jul 2023 15:14:47 +0600 Subject: [PATCH] Better --- src/main/java/net/silentclient/client/Client.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main/java/net/silentclient/client/Client.java b/src/main/java/net/silentclient/client/Client.java index 726576c..3103ed5 100644 --- a/src/main/java/net/silentclient/client/Client.java +++ b/src/main/java/net/silentclient/client/Client.java @@ -327,7 +327,6 @@ public class Client { while ((inputLine = in.readLine()) != null) { content.append(inputLine); } - Client.logger.info("Loaded user information: " + content.toString()); in.close(); con.disconnect(); GsonBuilder builder = new GsonBuilder(); @@ -406,6 +405,7 @@ public class Client { playersCount = 0; nextPing = 10; this.updateUserInformation(); + Client.logger.info("Update Connection Server: " + event.getIp()); silentSocket.getSocket().emit("update_information", event.getIp()); } @@ -415,6 +415,7 @@ public class Client { playersCount = 0; nextPing = 10; this.updateUserInformation(); + Client.logger.info("Update Connection Server: null"); silentSocket.getSocket().emit("update_information", ""); } @@ -424,6 +425,7 @@ public class Client { playersCount = 0; nextPing = 10; this.updateUserInformation(); + Client.logger.info("Update Connection Server: null"); silentSocket.getSocket().emit("update_information", ""); }