aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormat <git@matdoes.dev>2023-12-11 23:31:57 -0600
committermat <git@matdoes.dev>2023-12-11 23:31:57 -0600
commitda96a7663ab50eef04874755b716194e6622c3cf (patch)
tree5fff0b34b5d1a095332290a01251c2add378a72f
parent929cb95db437640b97899550e6fe3aa37ed3ca0f (diff)
downloadazalea-drasl-da96a7663ab50eef04874755b716194e6622c3cf.tar.xz
mention join_delay in add_accounts docs
-rw-r--r--azalea/src/swarm/mod.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/azalea/src/swarm/mod.rs b/azalea/src/swarm/mod.rs
index 1c89cdbe..ca947579 100644
--- a/azalea/src/swarm/mod.rs
+++ b/azalea/src/swarm/mod.rs
@@ -229,6 +229,9 @@ where
/// Use [`Self::add_account`] to only add one account. If you want the
/// clients to have different default states, add them one at a time with
/// [`Self::add_account_with_state`].
+ ///
+ /// By default every account will join at the same time, you can add a delay
+ /// with [`Self::join_delay`].
#[must_use]
pub fn add_accounts(mut self, accounts: Vec<Account>) -> Self
where