From 63f15353e7c92c47b48df3aad7fa5c67012637c0 Mon Sep 17 00:00:00 2001 From: mat Date: Wed, 20 Aug 2025 06:42:26 -1300 Subject: split client information handling out of BrandPlugin and some other cleanup --- azalea-client/src/plugins/chat/mod.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 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 f70d0eb6..f8ef3251 100644 --- a/azalea-client/src/plugins/chat/mod.rs +++ b/azalea-client/src/plugins/chat/mod.rs @@ -188,7 +188,7 @@ impl Client { /// send chat messages that start with a `/`. The [`Client::chat`] function /// handles checking whether the message is a command and using the /// proper packet for you, so you should use that instead. - pub fn send_chat_packet(&self, message: &str) { + pub fn write_chat_packet(&self, message: &str) { self.ecs.lock().send_event(SendChatKindEvent { entity: self.entity, content: message.to_string(), @@ -201,7 +201,7 @@ impl Client { /// /// You can also just use [`Client::chat`] and start your message with a `/` /// to send a command. - pub fn send_command_packet(&self, command: &str) { + pub fn write_command_packet(&self, command: &str) { self.ecs.lock().send_event(SendChatKindEvent { entity: self.entity, content: command.to_string(), -- cgit v1.2.3