aboutsummaryrefslogtreecommitdiff
path: root/azalea-client/src/plugins/chat/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'azalea-client/src/plugins/chat/mod.rs')
-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 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<ClientboundSystemChat>),
Player(Arc<ClientboundPlayerChat>),
@@ -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,