From d0bff29d4b09f8271bb9582e97eed25b4dc41ab7 Mon Sep 17 00:00:00 2001 From: Konicai <71294714+Konicai@users.noreply.github.com> Date: Thu, 15 Dec 2022 15:41:16 -0500 Subject: [PATCH] Fix clientData in encryptPlayerConnection --- .../java/org/geysermc/geyser/util/LoginEncryptionUtils.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/main/java/org/geysermc/geyser/util/LoginEncryptionUtils.java b/core/src/main/java/org/geysermc/geyser/util/LoginEncryptionUtils.java index b301d35a9..ec37ca6bd 100644 --- a/core/src/main/java/org/geysermc/geyser/util/LoginEncryptionUtils.java +++ b/core/src/main/java/org/geysermc/geyser/util/LoginEncryptionUtils.java @@ -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 certChainData) {