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

Commit 33d629b

Browse files
nothing changed
1 parent 81e0518 commit 33d629b

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

config.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
{
22
"PLAYERS_MAX": 0,
33
"PORT_SERVER": 25565,
4+
"PORT_API": 8089,
45
"SERVER_ID": "mc-oauth",
56
"PROTOCOL_VERSION": -1,
67
"MOTD": "",
7-
"SERVER_VERSION": "1.20.4",
8-
"PLAYERS_NOW": 0,
9-
"PORT_API": 8089
8+
"SERVER_VERSION": "1.21.4",
9+
"PLAYERS_NOW": 0
1010
}

src/main/java/com/andcool/pipeline/EncryptionRequest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ public static void sendEncryptionRequest(ChannelHandlerContext ctx, int protocol
2323
ByteBufUtils.writeVarInt(out, OAuthServer.VERIFY_TOKEN.length);
2424
out.writeBytes(OAuthServer.VERIFY_TOKEN);
2525

26-
// For widest client protocol version support
26+
// Starting with protocol version 766, the server must specify when clients should attempt to authenticate with mojang
2727
if (protocolVersion >= 766) {
2828
out.writeBoolean(true);
2929
}

0 commit comments

Comments
 (0)