diff options
Diffstat (limited to 'azalea/src/swarm')
| -rw-r--r-- | azalea/src/swarm/builder.rs | 9 |
1 files changed, 5 insertions, 4 deletions
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<NoState, NoSwarmState, (), ()> { /// 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. |
