Skip to content

Commit

Permalink
Fixed wrong translation usage
Browse files Browse the repository at this point in the history
  • Loading branch information
FlorianMichael committed Nov 26, 2023
1 parent cf93a04 commit 6ee3246
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public void sendAuthRequest(UserConnection user, String serverId) throws Throwab

mc.getSessionService().joinServer(mc.getSession().getUuidOrNull(), mc.getSession().getAccessToken(), serverId);
} catch (Exception e) {
user.getChannel().attr(ProtocolHack.CLIENT_CONNECTION_ATTRIBUTE_KEY).get().disconnect(ChatUtil.prefixText(Text.translatable("authentication_settings.viafabricplus.failed_to_verify_session")));
user.getChannel().attr(ProtocolHack.CLIENT_CONNECTION_ATTRIBUTE_KEY).get().disconnect(ChatUtil.prefixText(Text.translatable("authentication.viafabricplus.failed_to_verify_session")));
ViaFabricPlus.global().getLogger().error("Error occurred while calling join server to verify session", e);
}
}
Expand Down

0 comments on commit 6ee3246

Please sign in to comment.