Changed a method name

This commit is contained in:
Tim203 2019-11-30 15:32:13 +01:00
parent 7d645fbf16
commit b12256bc1e

View file

@ -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(),