diff options
Diffstat (limited to 'azalea-protocol/src/packets/mod.rs')
| -rw-r--r-- | azalea-protocol/src/packets/mod.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/azalea-protocol/src/packets/mod.rs b/azalea-protocol/src/packets/mod.rs index 9d96b75c..9dd14311 100644 --- a/azalea-protocol/src/packets/mod.rs +++ b/azalea-protocol/src/packets/mod.rs @@ -14,7 +14,7 @@ use crate::read::ReadPacketError; pub const PROTOCOL_VERSION: i32 = 774; pub const VERSION_NAME: &str = "1.21.11"; -#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)] +#[derive(Clone, Copy, Debug, Eq, Hash, PartialEq)] pub enum ConnectionProtocol { Handshake = -1, Game = 0, @@ -60,7 +60,7 @@ pub trait Packet<Protocol> { fn into_variant(self) -> Protocol; } -#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)] +#[derive(Clone, Copy, Debug, Eq, Hash, PartialEq)] pub enum ClientIntention { Status = 1, Login = 2, |
