mirror of
https://github.com/ViaVersion/ViaFabricPlus.git
synced 2024-11-02 08:59:31 +01:00
Fixed wrong translation usage
This commit is contained in:
parent
cf93a0453a
commit
6ee3246a39
@ -39,7 +39,7 @@ public class ViaFabricPlusOldAuthProvider extends OldAuthProvider {
|
||||
|
||||
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);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user