Fix language key typo when floodgate encryption fails (#4412)

This commit is contained in:
rtm516 2024-01-28 22:49:47 +00:00 committed by GitHub
parent 61b3ffd0de
commit 07150db592
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -935,7 +935,7 @@ public class GeyserSession implements GeyserConnection, GeyserCommandSource {
).toString());
} catch (Exception e) {
geyser.getLogger().error(GeyserLocale.getLocaleStringLog("geyser.auth.floodgate.encrypt_fail"), e);
disconnect(GeyserLocale.getPlayerLocaleString("geyser.auth.floodgate.encryption_fail", getClientData().getLanguageCode()));
disconnect(GeyserLocale.getPlayerLocaleString("geyser.auth.floodgate.encrypt_fail", getClientData().getLanguageCode()));
return;
}