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

View file

@ -935,7 +935,7 @@ public class GeyserSession implements GeyserConnection, GeyserCommandSource {
).toString()); ).toString());
} catch (Exception e) { } catch (Exception e) {
geyser.getLogger().error(GeyserLocale.getLocaleStringLog("geyser.auth.floodgate.encrypt_fail"), 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; return;
} }