diff options
Diffstat (limited to 'azalea/src')
| -rw-r--r-- | azalea/src/swarm/mod.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/azalea/src/swarm/mod.rs b/azalea/src/swarm/mod.rs index ca947579..6d3885ef 100644 --- a/azalea/src/swarm/mod.rs +++ b/azalea/src/swarm/mod.rs @@ -317,6 +317,8 @@ where let (bots_tx, mut bots_rx) = mpsc::unbounded_channel(); let (swarm_tx, mut swarm_rx) = mpsc::unbounded_channel(); + swarm_tx.send(SwarmEvent::Init).unwrap(); + let (run_schedule_sender, run_schedule_receiver) = mpsc::unbounded_channel(); let main_schedule_label = self.app.main_schedule_label; @@ -377,6 +379,8 @@ where ) .await; } + + swarm_tx.send(SwarmEvent::Login).unwrap(); }); let swarm_state = self.swarm_state; |
