From 3f60bdadac1a02e1109148bbbe5a8a3545f13849 Mon Sep 17 00:00:00 2001 From: mat <27899617+mat-1@users.noreply.github.com> Date: Thu, 17 Apr 2025 16:16:51 -0500 Subject: Move login state to the ECS (#213) * use packet handlers code for login custom_query * initial broken implementation for ecs-only login * fixes * run Update schedule 60 times per second and delete code related to run_schedule_sender * fix tests * fix online-mode * reply to query packets in a separate system and make it easier for plugins to disable individual replies * remove unused imports --- azalea-client/src/plugins/chat/mod.rs | 3 --- 1 file changed, 3 deletions(-) (limited to 'azalea-client/src/plugins/chat') diff --git a/azalea-client/src/plugins/chat/mod.rs b/azalea-client/src/plugins/chat/mod.rs index 3d03d24e..8562f3ce 100644 --- a/azalea-client/src/plugins/chat/mod.rs +++ b/azalea-client/src/plugins/chat/mod.rs @@ -152,7 +152,6 @@ impl Client { content: message.to_string(), kind: ChatKind::Message, }); - let _ = self.run_schedule_sender.try_send(()); } /// Send a command packet to the server. The `command` argument should not @@ -166,7 +165,6 @@ impl Client { content: command.to_string(), kind: ChatKind::Command, }); - let _ = self.run_schedule_sender.try_send(()); } /// Send a message in chat. @@ -183,7 +181,6 @@ impl Client { entity: self.entity, content: content.to_string(), }); - let _ = self.run_schedule_sender.try_send(()); } } -- cgit v1.2.3