Skip to content
This repository was archived by the owner on May 1, 2025. It is now read-only.

Commit 0514202

Browse files
Update HandshakeHandler.java
1 parent c386f47 commit 0514202

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/andcool/handlers/HandshakeHandler.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ public static void handleHandshake(ChannelHandlerContext ctx, ByteBuf in, Sessio
2222
session.protocolVersion = protocolVersion;
2323
session.loginPhase = 1;
2424
session.nextState = nextState;
25-
switch (nextState){
25+
switch (nextState) {
2626
case 1 -> PingResponse.sendPingResponse(ctx, UserConfig.PROTOCOL_VERSION == -1 ? protocolVersion : UserConfig.PROTOCOL_VERSION);
2727
case 2 -> LoginStartHandler.handleLoginStart(ctx, in, session);
2828
}

0 commit comments

Comments
 (0)