diff options
| author | mat <github@matdoes.dev> | 2021-12-14 23:03:26 -0600 |
|---|---|---|
| committer | mat <github@matdoes.dev> | 2021-12-14 23:03:26 -0600 |
| commit | 0d6e4179e6cc16594a4be3ecd62d89411115f319 (patch) | |
| tree | 019284386b7a2540efe440e0c2f3aad27801a5a6 /minecraft-protocol/src/packets/handshake | |
| parent | c96ae8fce4e53ea9fad111ac7f479f2fa33ef859 (diff) | |
| download | azalea-drasl-0d6e4179e6cc16594a4be3ecd62d89411115f319.tar.xz | |
progress, ?
Diffstat (limited to 'minecraft-protocol/src/packets/handshake')
| -rw-r--r-- | minecraft-protocol/src/packets/handshake/client_intention_packet.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/minecraft-protocol/src/packets/handshake/client_intention_packet.rs b/minecraft-protocol/src/packets/handshake/client_intention_packet.rs index f3416f4c..76957c6f 100644 --- a/minecraft-protocol/src/packets/handshake/client_intention_packet.rs +++ b/minecraft-protocol/src/packets/handshake/client_intention_packet.rs @@ -5,7 +5,7 @@ use tokio::io::BufReader; use crate::{ mc_buf, - packets::{ConnectionProtocol, Packet, PacketTrait}, + packets::{ConnectionProtocol, Packet}, }; #[derive(Hash, Clone, Debug)] @@ -18,7 +18,7 @@ pub struct ClientIntentionPacket { } #[async_trait] -impl PacketTrait for ClientIntentionPacket { +impl ClientIntentionPacket { fn get(self) -> Packet { Packet::ClientIntentionPacket(self) } |
