Mirror von
https://github.com/PaperMC/Velocity.git
synchronisiert 2024-11-17 05:20:14 +01:00
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