aboutsummaryrefslogtreecommitdiff
path: root/azalea-client
diff options
context:
space:
mode:
authormat <git@matdoes.dev>2023-12-01 23:09:24 -0600
committermat <git@matdoes.dev>2023-12-01 23:09:24 -0600
commit3eb9998c989cbf9305f4584af94daae72780fea7 (patch)
tree842c34eccc15913c3b4a1a61e3803a21aa5ded4e /azalea-client
parent175eacfac37cbe05911fa2d19dee7e7fa38a5c2e (diff)
downloadazalea-drasl-3eb9998c989cbf9305f4584af94daae72780fea7.tar.xz
compression does not need to be async
Diffstat (limited to 'azalea-client')
-rw-r--r--azalea-client/src/disconnect.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/azalea-client/src/disconnect.rs b/azalea-client/src/disconnect.rs
index 35334199..ea8479d3 100644
--- a/azalea-client/src/disconnect.rs
+++ b/azalea-client/src/disconnect.rs
@@ -65,6 +65,8 @@ fn update_read_packets_task_running_component(
commands.entity(entity).insert(IsConnectionAlive(running));
}
}
+
+#[allow(clippy::type_complexity)]
fn disconnect_on_connection_dead(
query: Query<(Entity, &IsConnectionAlive), (Changed<IsConnectionAlive>, With<LocalEntity>)>,
mut disconnect_events: EventWriter<DisconnectEvent>,