From acd52756be3deb778175f8b34e181e104b46350a Mon Sep 17 00:00:00 2001 From: mat Date: Fri, 23 May 2025 20:53:26 -0100 Subject: fix Event::Login not firing on reconnect by adding entity id to RemoveOnDisconnectBundle --- azalea/examples/testbot/main.rs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'azalea/examples') diff --git a/azalea/examples/testbot/main.rs b/azalea/examples/testbot/main.rs index 487cea1e..1aa9485d 100644 --- a/azalea/examples/testbot/main.rs +++ b/azalea/examples/testbot/main.rs @@ -187,6 +187,9 @@ async fn handle(bot: Client, event: azalea::Event, state: State) -> anyhow::Resu BotTask::None => {} } } + azalea::Event::Login => { + println!("Got login event") + } _ => {} } -- cgit v1.2.3