From 53e630f73f5fcc82a6818448cdb105abb75dfcc7 Mon Sep 17 00:00:00 2001 From: mat Date: Fri, 23 Jan 2026 18:09:59 -0930 Subject: add Event::ConnectionFailed and add more plugins by default when using Client::join --- azalea/src/swarm/builder.rs | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'azalea/src/swarm') diff --git a/azalea/src/swarm/builder.rs b/azalea/src/swarm/builder.rs index f42b4d4a..0adb4f26 100644 --- a/azalea/src/swarm/builder.rs +++ b/azalea/src/swarm/builder.rs @@ -75,10 +75,11 @@ impl SwarmBuilder { /// Start creating the swarm. #[must_use] pub fn new() -> Self { - Self::new_without_plugins() - .add_plugins(DefaultPlugins) - .add_plugins(DefaultBotPlugins) - .add_plugins(DefaultSwarmPlugins) + Self::new_without_plugins().add_plugins(( + DefaultPlugins, + DefaultBotPlugins, + DefaultSwarmPlugins, + )) } /// [`Self::new`] but without adding the plugins by default. -- cgit v1.2.3