Fix clientData in encryptPlayerConnection

This commit is contained in:
Konicai 2022-12-15 15:41:16 -05:00
parent 3fca39094f
commit d0bff29d4b
No known key found for this signature in database
GPG key ID: 710D09287708C823

View file

@ -122,7 +122,7 @@ public class LoginEncryptionUtils {
}
public static void encryptPlayerConnection(GeyserSession session, LoginPacket loginPacket) {
encryptConnectionWithCert(session, loginPacket.getExtra().toString(), loginPacket.getChain());
encryptConnectionWithCert(session, loginPacket.getExtra().getParsedString(), loginPacket.getChain());
}
private static void encryptConnectionWithCert(GeyserSession session, String clientData, List<SignedJWT> certChainData) {