aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--azalea-client/src/client.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/azalea-client/src/client.rs b/azalea-client/src/client.rs
index bef05a14..8ae236df 100644
--- a/azalea-client/src/client.rs
+++ b/azalea-client/src/client.rs
@@ -323,9 +323,7 @@ impl Client {
entity,
ServerboundHello {
name: account.username.clone(),
- // TODO: pretty sure this should generate an offline-mode uuid instead of just
- // Uuid::default()
- profile_id: account.uuid.unwrap_or_default(),
+ profile_id: account.uuid_or_offline(),
},
))
});