mirror of
https://github.com/LOOHP/Limbo.git
synced 2026-06-07 13:31:43 +00:00
Fixed double ;;
This commit is contained in:
@@ -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");
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user