diff --git a/src/main/java/com/loohp/limbo/network/ClientConnection.java b/src/main/java/com/loohp/limbo/network/ClientConnection.java index e2a3362..cdf51dc 100644 --- a/src/main/java/com/loohp/limbo/network/ClientConnection.java +++ b/src/main/java/com/loohp/limbo/network/ClientConnection.java @@ -310,7 +310,7 @@ public void run() { channel.output.writeByte(255); String str = inetAddress.getHostName() + ":" + clientSocket.getPort(); if(!properties.isLogPlayerIPAddresses()) - str = "" + ":" + clientSocket.getPort();; + str = "" + ":" + clientSocket.getPort(); Limbo.getInstance().getConsole().sendMessage("[/" + str + "] <-> Legacy Status has pinged"); ServerProperties p = Limbo.getInstance().getServerProperties(); StatusPingEvent event = Limbo.getInstance().getEventsManager().callEvent(new StatusPingEvent(this, p.getVersionString(), p.getProtocol(), p.getMotd(), p.getMaxPlayers(), Limbo.getInstance().getPlayers().size(), p.getFavicon().orElse(null))); @@ -344,7 +344,7 @@ public void run() { String str = inetAddress.getHostName() + ":" + clientSocket.getPort(); if(!properties.isLogPlayerIPAddresses()) - str = "" + ":" + clientSocket.getPort();; + str = "" + ":" + clientSocket.getPort(); if (Limbo.getInstance().getServerProperties().handshakeVerboseEnabled()) { Limbo.getInstance().getConsole().sendMessage("[/" + str + "] <-> Handshake Status has pinged"); }