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/join.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'azalea-client/src/plugins/join.rs') diff --git a/azalea-client/src/plugins/join.rs b/azalea-client/src/plugins/join.rs index f1e27165..b1759992 100644 --- a/azalea-client/src/plugins/join.rs +++ b/azalea-client/src/plugins/join.rs @@ -47,7 +47,7 @@ impl Plugin for JoinPlugin { /// /// This won't do anything if a client with the Account UUID is already /// connected to the server. -#[derive(Message, Debug)] +#[derive(Debug, Message)] pub struct StartJoinServerEvent { pub account: Account, pub connect_opts: ConnectOpts, @@ -61,7 +61,7 @@ pub struct StartJoinServerEvent { /// /// These are persisted on reconnects. This is inserted as a component on /// clients to make auto-reconnecting work. -#[derive(Debug, Clone, Component)] +#[derive(Clone, Component, Debug)] pub struct ConnectOpts { pub address: ResolvedAddr, /// The SOCKS5 proxy used for connecting to the Minecraft server. -- cgit v1.2.3