Skip to content

Commit

Permalink
Fixed double ;;
Browse files Browse the repository at this point in the history
  • Loading branch information
SlenkyDev committed Aug 7, 2022
1 parent 69dc6ea commit 8863d69
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/com/loohp/limbo/network/ClientConnection.java
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ public void run() {
channel.output.writeByte(255);
String str = inetAddress.getHostName() + ":" + clientSocket.getPort();
if(!properties.isLogPlayerIPAddresses())
str = "<ip address withheld>" + ":" + clientSocket.getPort();;
str = "<ip address withheld>" + ":" + 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)));
Expand Down Expand Up @@ -344,7 +344,7 @@ public void run() {

String str = inetAddress.getHostName() + ":" + clientSocket.getPort();
if(!properties.isLogPlayerIPAddresses())
str = "<ip address withheld>" + ":" + clientSocket.getPort();;
str = "<ip address withheld>" + ":" + clientSocket.getPort();
if (Limbo.getInstance().getServerProperties().handshakeVerboseEnabled()) {
Limbo.getInstance().getConsole().sendMessage("[/" + str + "] <-> Handshake Status has pinged");
}
Expand Down

0 comments on commit 8863d69

Please sign in to comment.