Fixed double ;;

This commit is contained in:
MrSlenky 2022-08-07 16:33:44 +02:00
parent 69dc6eaa7d
commit 8863d699e5
1 changed files with 2 additions and 2 deletions

View File

@ -310,7 +310,7 @@ public class ClientConnection extends Thread {
channel.output.writeByte(255); channel.output.writeByte(255);
String str = inetAddress.getHostName() + ":" + clientSocket.getPort(); String str = inetAddress.getHostName() + ":" + clientSocket.getPort();
if(!properties.isLogPlayerIPAddresses()) if(!properties.isLogPlayerIPAddresses())
str = "<ip address withheld>" + ":" + clientSocket.getPort();; str = "<ip address withheld>" + ":" + clientSocket.getPort();
Limbo.getInstance().getConsole().sendMessage("[/" + str + "] <-> Legacy Status has pinged"); Limbo.getInstance().getConsole().sendMessage("[/" + str + "] <-> Legacy Status has pinged");
ServerProperties p = Limbo.getInstance().getServerProperties(); 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))); 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 class ClientConnection extends Thread {
String str = inetAddress.getHostName() + ":" + clientSocket.getPort(); String str = inetAddress.getHostName() + ":" + clientSocket.getPort();
if(!properties.isLogPlayerIPAddresses()) if(!properties.isLogPlayerIPAddresses())
str = "<ip address withheld>" + ":" + clientSocket.getPort();; str = "<ip address withheld>" + ":" + clientSocket.getPort();
if (Limbo.getInstance().getServerProperties().handshakeVerboseEnabled()) { if (Limbo.getInstance().getServerProperties().handshakeVerboseEnabled()) {
Limbo.getInstance().getConsole().sendMessage("[/" + str + "] <-> Handshake Status has pinged"); Limbo.getInstance().getConsole().sendMessage("[/" + str + "] <-> Handshake Status has pinged");
} }