From 3137132bb93be664bc025c8e829e4f67431b4fe3 Mon Sep 17 00:00:00 2001 From: mat Date: Sat, 3 Jan 2026 15:46:15 -0930 Subject: cleanup --- azalea-client/src/account/microsoft.rs | 12 ++++++------ azalea-client/src/plugins/interact/mod.rs | 1 - 2 files changed, 6 insertions(+), 7 deletions(-) (limited to 'azalea-client/src') diff --git a/azalea-client/src/account/microsoft.rs b/azalea-client/src/account/microsoft.rs index 22228eb9..ab31ee82 100644 --- a/azalea-client/src/account/microsoft.rs +++ b/azalea-client/src/account/microsoft.rs @@ -91,10 +91,10 @@ impl AccountTrait for MicrosoftAccount { let access_token = self.access_token.lock().clone(); sessionserver::join(SessionServerJoinOpts { access_token: &access_token, - public_key: public_key, - private_key: private_key, + public_key, + private_key, uuid: &self.uuid(), - server_id: &server_id, + server_id, proxy, }) .await @@ -196,10 +196,10 @@ impl AccountTrait for MicrosoftWithAccessTokenAccount { let access_token = self.access_token.lock().clone(); sessionserver::join(SessionServerJoinOpts { access_token: &access_token, - public_key: public_key, - private_key: private_key, + public_key, + private_key, uuid: &self.uuid(), - server_id: &server_id, + server_id, proxy, }) .await diff --git a/azalea-client/src/plugins/interact/mod.rs b/azalea-client/src/plugins/interact/mod.rs index 4f07c280..d8f8b8b4 100644 --- a/azalea-client/src/plugins/interact/mod.rs +++ b/azalea-client/src/plugins/interact/mod.rs @@ -30,7 +30,6 @@ use azalea_protocol::packets::game::{ s_swing::ServerboundSwing, s_use_item_on::ServerboundUseItemOn, }; -use azalea_registry::builtin::ItemKind; use azalea_world::Instance; use bevy_app::{App, Plugin, Update}; use bevy_ecs::prelude::*; -- cgit v1.2.3