geforkt von Mirrors/Velocity
Fix typo in VelocityRegisteredServer#ping()
Dieser Commit ist enthalten in:
Ursprung
74033addbe
Commit
7f8edf8c77
@ -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());
|
||||||
}
|
}
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren