Revert bad bug fix

This commit is contained in:
Andrew Steinborn
2023-10-29 01:24:47 -04:00
parent 3584c20167
commit 7cb1189e30

View File

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