From 1fb68dc9e3f7202d1f2eec9f2e8e362a6afc46bc Mon Sep 17 00:00:00 2001 From: Camotoy <20743703+DoctorMacc@users.noreply.github.com> Date: Wed, 12 Aug 2020 14:48:40 -0400 Subject: [PATCH] LoginEncryptionUtils: Add proper string for no Xbox account (#1139) --- .../java/org/geysermc/connector/utils/LoginEncryptionUtils.java | 2 +- connector/src/main/resources/languages | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/connector/src/main/java/org/geysermc/connector/utils/LoginEncryptionUtils.java b/connector/src/main/java/org/geysermc/connector/utils/LoginEncryptionUtils.java index 8a13d0549..7b41ae3de 100644 --- a/connector/src/main/java/org/geysermc/connector/utils/LoginEncryptionUtils.java +++ b/connector/src/main/java/org/geysermc/connector/utils/LoginEncryptionUtils.java @@ -106,7 +106,7 @@ public class LoginEncryptionUtils { connector.getLogger().debug(String.format("Is player data valid? %s", validChain)); if (!validChain) { - session.disconnect(LanguageUtils.getLocaleStringLog("geyser.auth.login.form.notice.desc")); + session.disconnect(LanguageUtils.getLocaleStringLog("geyser.network.remote.invalid_xbox_account")); return; } JWSObject jwt = JWSObject.parse(certChainData.get(certChainData.size() - 1).asText()); diff --git a/connector/src/main/resources/languages b/connector/src/main/resources/languages index bd69044f8..57e5986bd 160000 --- a/connector/src/main/resources/languages +++ b/connector/src/main/resources/languages @@ -1 +1 @@ -Subproject commit bd69044f8f69783bd9a7d8b4922b9122044a2a1e +Subproject commit 57e5986bd99bf3d81d67c75299ea3dde67d53554