mirror of
https://github.com/PaperMC/Velocity.git
synced 2026-02-17 14:37:43 +01:00
Revert bad bug fix
This commit is contained in:
@@ -109,7 +109,6 @@ public class VelocityRegisteredServer implements RegisteredServer, ForwardingAud
|
|||||||
PingSessionHandler handler = new PingSessionHandler(pingFuture,
|
PingSessionHandler handler = new PingSessionHandler(pingFuture,
|
||||||
VelocityRegisteredServer.this, conn, pingOptions.protocolVersion());
|
VelocityRegisteredServer.this, conn, pingOptions.protocolVersion());
|
||||||
conn.setActiveSessionHandler(StateRegistry.HANDSHAKE, handler);
|
conn.setActiveSessionHandler(StateRegistry.HANDSHAKE, handler);
|
||||||
conn.addSessionHandler(StateRegistry.STATUS, handler);
|
|
||||||
} else {
|
} else {
|
||||||
pingFuture.completeExceptionally(future.cause());
|
pingFuture.completeExceptionally(future.cause());
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user