diff options
| author | mat <git@matdoes.dev> | 2025-04-04 16:05:06 -0430 |
|---|---|---|
| committer | mat <git@matdoes.dev> | 2025-04-04 16:05:06 -0430 |
| commit | 5fd57fd630bea256639332f117848d6f1fcfd132 (patch) | |
| tree | 83e21595e69e24b3b1e8790dc630b79cf14a1777 /azalea/src/swarm | |
| parent | e99ae608b67ad3ff105666e619d04ca9385488e1 (diff) | |
| download | azalea-drasl-5fd57fd630bea256639332f117848d6f1fcfd132.tar.xz | |
don't require mut for functions in Client and add some more convenience functions
Diffstat (limited to 'azalea/src/swarm')
| -rw-r--r-- | azalea/src/swarm/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/azalea/src/swarm/mod.rs b/azalea/src/swarm/mod.rs index 2062446a..eb56ae2d 100644 --- a/azalea/src/swarm/mod.rs +++ b/azalea/src/swarm/mod.rs @@ -627,7 +627,7 @@ impl Swarm { /// /// Returns an `Err` if the bot could not do a handshake successfully. pub async fn add<S: Component + Clone>( - &mut self, + &self, account: &Account, state: S, ) -> Result<Client, JoinError> { |
