aboutsummaryrefslogtreecommitdiff
path: root/azalea-client/src
diff options
context:
space:
mode:
Diffstat (limited to 'azalea-client/src')
-rw-r--r--azalea-client/src/account/microsoft.rs12
-rw-r--r--azalea-client/src/plugins/interact/mod.rs1
2 files changed, 6 insertions, 7 deletions
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::*;