13
0
geforkt von Mirrors/Velocity

Fix typo in VelocityRegisteredServer#ping()

Dieser Commit ist enthalten in:
Andrew Steinborn 2023-10-28 19:53:49 -04:00
Ursprung 74033addbe
Commit 7f8edf8c77

Datei anzeigen

@ -127,7 +127,7 @@ public class VelocityRegisteredServer implements RegisteredServer, ForwardingAud
PingSessionHandler handler = new PingSessionHandler(pingFuture, PingSessionHandler handler = new PingSessionHandler(pingFuture,
VelocityRegisteredServer.this, conn, pingOptions.getProtocolVersion()); VelocityRegisteredServer.this, conn, pingOptions.getProtocolVersion());
conn.setActiveSessionHandler(StateRegistry.HANDSHAKE, handler); conn.setActiveSessionHandler(StateRegistry.HANDSHAKE, handler);
conn.addSessionHandler(StateRegistry.LOGIN, handler); conn.addSessionHandler(StateRegistry.STATUS, handler);
} else { } else {
pingFuture.completeExceptionally(future.cause()); pingFuture.completeExceptionally(future.cause());
} }