aboutsummaryrefslogtreecommitdiff
path: root/azalea/src/swarm
diff options
context:
space:
mode:
Diffstat (limited to 'azalea/src/swarm')
-rw-r--r--azalea/src/swarm/mod.rs5
1 files changed, 0 insertions, 5 deletions
diff --git a/azalea/src/swarm/mod.rs b/azalea/src/swarm/mod.rs
index ff85e2c1..b39d6911 100644
--- a/azalea/src/swarm/mod.rs
+++ b/azalea/src/swarm/mod.rs
@@ -669,11 +669,6 @@ pub type BoxSwarmHandleFn<SS, R> =
/// _state: SwarmState,
/// ) -> anyhow::Result<()> {
/// match &event {
-/// SwarmEvent::Disconnect(account, join_opts) => {
-/// // automatically reconnect after 5 seconds
-/// tokio::time::sleep(Duration::from_secs(5)).await;
-/// swarm.add_with_opts(account, State::default(), join_opts).await?;
-/// }
/// SwarmEvent::Chat(m) => {
/// println!("{}", m.message().to_ansi());
/// }