From 6c0be6913dd0bcbb7e17a3e2a4daa45fcc8f5103 Mon Sep 17 00:00:00 2001 From: mat Date: Fri, 30 Jan 2026 00:02:36 +0500 Subject: warn if pathfinder is running without optimizations, and other minor fixes --- azalea-client/src/account/microsoft.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'azalea-client/src/account') diff --git a/azalea-client/src/account/microsoft.rs b/azalea-client/src/account/microsoft.rs index 7546ac13..37ca6f05 100644 --- a/azalea-client/src/account/microsoft.rs +++ b/azalea-client/src/account/microsoft.rs @@ -1,8 +1,7 @@ use std::path::PathBuf; use azalea_auth::{ - AccessTokenResponse, - AuthOpts, + AccessTokenResponse, AuthOpts, certs::Certificates, sessionserver::{self, ClientSessionServerError, SessionServerJoinOpts}, }; @@ -117,7 +116,8 @@ impl AccountTrait for MicrosoftAccount { } fn refresh(&self) -> BoxFuture<'_, Result<(), azalea_auth::AuthError>> { Box::pin(async { - let new_account = MicrosoftAccount::new(&self.cache_key, self.auth_opts.clone()).await?; + let new_account = + MicrosoftAccount::new(&self.cache_key, self.auth_opts.clone()).await?; let new_access_token = new_account.access_token().unwrap(); *self.access_token.lock() = new_access_token; Ok(()) -- cgit v1.2.3