This commit is contained in:
kirillsaint 2023-07-03 15:14:47 +06:00
parent 49b00c4080
commit 31d6483c72

View File

@ -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", "");
}