1
2
Fork 0
mirror of https://github.com/mat-1/azalea.git synced 2025-08-02 14:26:04 +00:00

merge main

This commit is contained in:
mat 2025-05-02 02:21:54 +00:00
parent b96e1a77bc
commit 8b92b668d6
2 changed files with 2 additions and 2 deletions

View file

@ -69,7 +69,7 @@ pub fn rejoin_after_delay(
commands.entity(entity).remove::<InternalReconnectAfter>();
// our Entity will be reused since the account has the same uuid
join_events.send(StartJoinServerEvent {
join_events.write(StartJoinServerEvent {
account: account.clone(),
connect_opts: connect_opts.clone(),
// not actually necessary since we're reusing the same entity and LocalPlayerEvents

View file

@ -177,7 +177,7 @@ pub fn poll_create_connection_task(
Ok(conn) => conn,
Err(error) => {
warn!("failed to create connection: {error}");
connection_failed_events.send(ConnectionFailedEvent { entity, error });
connection_failed_events.write(ConnectionFailedEvent { entity, error });
return;
}
};