aboutsummaryrefslogtreecommitdiff
path: root/azalea-client/src/plugins/chat
diff options
context:
space:
mode:
authormat <git@matdoes.dev>2025-08-20 06:42:26 -1300
committermat <git@matdoes.dev>2025-08-20 22:42:40 +0300
commit63f15353e7c92c47b48df3aad7fa5c67012637c0 (patch)
tree0b7556cd3c80935fd8e323f0f11673857cb6ef46 /azalea-client/src/plugins/chat
parenta89cae5703abe0e103a17e9c931fb6132c448172 (diff)
downloadazalea-drasl-63f15353e7c92c47b48df3aad7fa5c67012637c0.tar.xz
split client information handling out of BrandPlugin and some other cleanup
Diffstat (limited to 'azalea-client/src/plugins/chat')
-rw-r--r--azalea-client/src/plugins/chat/mod.rs4
1 files changed, 2 insertions, 2 deletions
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(),