aboutsummaryrefslogtreecommitdiff
path: root/azalea/src/swarm
diff options
context:
space:
mode:
authormat <27899617+mat-1@users.noreply.github.com>2026-01-01 22:28:53 -0600
committerGitHub <noreply@github.com>2026-01-01 22:28:53 -0600
commit1ca1f1d9e27aeea3adaf359570f2e211e0a9af74 (patch)
treedd35bb9bff67f0622a6410c99b5bd1678c9c8299 /azalea/src/swarm
parent7b84235a9be5bdc7c05873467ad8310b57448d79 (diff)
downloadazalea-drasl-1ca1f1d9e27aeea3adaf359570f2e211e0a9af74.tar.xz
Extensible Account (#301)
* refactor Account * clean up implementation and docs * add AccountTrait::join * update changelog * update example
Diffstat (limited to 'azalea/src/swarm')
-rw-r--r--azalea/src/swarm/builder.rs2
-rw-r--r--azalea/src/swarm/mod.rs4
2 files changed, 3 insertions, 3 deletions
diff --git a/azalea/src/swarm/builder.rs b/azalea/src/swarm/builder.rs
index 4312a485..14c9c290 100644
--- a/azalea/src/swarm/builder.rs
+++ b/azalea/src/swarm/builder.rs
@@ -8,7 +8,7 @@ use std::{
time::Duration,
};
-use azalea_client::{Account, DefaultPlugins, start_ecs_runner};
+use azalea_client::{DefaultPlugins, account::Account, start_ecs_runner};
use azalea_protocol::address::{ResolvableAddr, ResolvedAddr};
use azalea_world::InstanceContainer;
use bevy_app::{App, AppExit, Plugins, SubApp};
diff --git a/azalea/src/swarm/mod.rs b/azalea/src/swarm/mod.rs
index 691fb354..b1061346 100644
--- a/azalea/src/swarm/mod.rs
+++ b/azalea/src/swarm/mod.rs
@@ -12,7 +12,7 @@ use std::sync::{
atomic::{self, AtomicBool},
};
-use azalea_client::{Account, chat::ChatPacket, join::ConnectOpts};
+use azalea_client::{account::Account, chat::ChatPacket, join::ConnectOpts};
use azalea_entity::LocalEntity;
use azalea_protocol::address::ResolvedAddr;
use azalea_world::InstanceContainer;
@@ -165,7 +165,7 @@ impl Swarm {
) -> Client {
debug!(
"add_with_opts called for account {} with opts {join_opts:?}",
- account.username
+ account.username()
);
let mut address = self.address.read().clone();