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:
parent
b96e1a77bc
commit
8b92b668d6
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Add table
Reference in a new issue