From dcbd690f21665e22ea250024a1aa85dec34e6c9e Mon Sep 17 00:00:00 2001 From: mat Date: Mon, 15 Dec 2025 11:14:40 +0930 Subject: sort derives with cargo sort-derives might add to ci later, unsure how to do it without adding significant friction for contributors though --- 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 7fd14e26..bd90a8d6 100644 --- a/azalea-client/src/plugins/chat/mod.rs +++ b/azalea-client/src/plugins/chat/mod.rs @@ -30,7 +30,7 @@ impl Plugin for ChatPlugin { } /// A chat packet, either a system message or a chat message. -#[derive(Debug, Clone, PartialEq)] +#[derive(Clone, Debug, PartialEq)] pub enum ChatPacket { System(Arc), Player(Arc), @@ -234,7 +234,7 @@ impl Client { } /// A client received a chat message packet. -#[derive(Message, Debug, Clone)] +#[derive(Clone, Debug, Message)] pub struct ChatReceivedEvent { pub entity: Entity, pub packet: ChatPacket, -- cgit v1.2.3