diff options
| author | mat <github@matdoes.dev> | 2022-01-02 17:42:41 -0600 |
|---|---|---|
| committer | mat <github@matdoes.dev> | 2022-01-02 17:42:41 -0600 |
| commit | 394f996df27bedc68be6c1f9e9764e8f78ba6282 (patch) | |
| tree | a0a5b5ae17ae7e524fc04f844b7ffb63810861fc /azalea-protocol/src/packets | |
| parent | 45871fc01e212a50ac5e6268e4677f97f8fe5bb3 (diff) | |
| download | azalea-drasl-394f996df27bedc68be6c1f9e9764e8f78ba6282.tar.xz | |
fix random warnings
Diffstat (limited to 'azalea-protocol/src/packets')
3 files changed, 1 insertions, 7 deletions
diff --git a/azalea-protocol/src/packets/game/clientbound_custom_payload_packet.rs b/azalea-protocol/src/packets/game/clientbound_custom_payload_packet.rs index 4ee0ddf0..134a3109 100644 --- a/azalea-protocol/src/packets/game/clientbound_custom_payload_packet.rs +++ b/azalea-protocol/src/packets/game/clientbound_custom_payload_packet.rs @@ -1,4 +1,3 @@ -use crate::mc_buf::{Readable, Writable}; use azalea_core::resource_location::ResourceLocation; use packet_macros::GamePacket; diff --git a/azalea-protocol/src/packets/handshake/client_intention_packet.rs b/azalea-protocol/src/packets/handshake/client_intention_packet.rs index 00d124a4..6216ddc4 100644 --- a/azalea-protocol/src/packets/handshake/client_intention_packet.rs +++ b/azalea-protocol/src/packets/handshake/client_intention_packet.rs @@ -1,8 +1,4 @@ -use crate::{ - mc_buf::{Readable, Writable}, - packets::ConnectionProtocol, -}; -use num_traits::FromPrimitive; +use crate::packets::ConnectionProtocol; use packet_macros::HandshakePacket; use std::hash::Hash; diff --git a/azalea-protocol/src/packets/login/clientbound_custom_query_packet.rs b/azalea-protocol/src/packets/login/clientbound_custom_query_packet.rs index 77262c43..3138106e 100644 --- a/azalea-protocol/src/packets/login/clientbound_custom_query_packet.rs +++ b/azalea-protocol/src/packets/login/clientbound_custom_query_packet.rs @@ -1,4 +1,3 @@ -use crate::mc_buf::{Readable, Writable}; use azalea_core::resource_location::ResourceLocation; use packet_macros::LoginPacket; use std::hash::Hash; |
