From b12256bc1e969157e36321ce1317c1222ab86ad0 Mon Sep 17 00:00:00 2001 From: Tim203 Date: Sat, 30 Nov 2019 15:32:13 +0100 Subject: [PATCH] Changed a method name --- .../org/geysermc/connector/network/session/GeyserSession.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/connector/src/main/java/org/geysermc/connector/network/session/GeyserSession.java b/connector/src/main/java/org/geysermc/connector/network/session/GeyserSession.java index aabc3d668..fc1e687dd 100644 --- a/connector/src/main/java/org/geysermc/connector/network/session/GeyserSession.java +++ b/connector/src/main/java/org/geysermc/connector/network/session/GeyserSession.java @@ -206,7 +206,7 @@ public class GeyserSession implements Player { if (event.getPacket() instanceof HandshakePacket && floodgate) { String encrypted = ""; try { - encrypted = EncryptionUtil.encryptFromInstance(publicKey, new BedrockData( + encrypted = EncryptionUtil.encryptBedrockData(publicKey, new BedrockData( clientData.getGameVersion(), authenticationData.getName(), authenticationData.getXboxUUID(),