aboutsummaryrefslogtreecommitdiff
path: root/azalea-protocol/src/packets/game/mod.rs
diff options
context:
space:
mode:
authormat <github@matdoes.dev>2022-04-19 19:17:36 -0500
committermat <github@matdoes.dev>2022-04-19 19:17:36 -0500
commitcbdab27cb555e38b39fe0f600ff945090ec10dcb (patch)
tree57507ec2a3991ed647ef2f4efd8ee357bbf33d11 /azalea-protocol/src/packets/game/mod.rs
parent9633874d23f3baa8e5d5c33f3fd51ae6aa880a88 (diff)
downloadazalea-drasl-cbdab27cb555e38b39fe0f600ff945090ec10dcb.tar.xz
add declare_state_packets to the other states
Diffstat (limited to 'azalea-protocol/src/packets/game/mod.rs')
-rw-r--r--azalea-protocol/src/packets/game/mod.rs4
1 files changed, 0 insertions, 4 deletions
diff --git a/azalea-protocol/src/packets/game/mod.rs b/azalea-protocol/src/packets/game/mod.rs
index 2affd49e..a4304d9f 100644
--- a/azalea-protocol/src/packets/game/mod.rs
+++ b/azalea-protocol/src/packets/game/mod.rs
@@ -3,14 +3,10 @@ pub mod clientbound_custom_payload_packet;
pub mod clientbound_login_packet;
pub mod clientbound_update_view_distance_packet;
-use super::ProtocolPacket;
-use crate::connect::PacketFlow;
-use async_trait::async_trait;
use packet_macros::declare_state_packets;
declare_state_packets!(
GamePacket,
- // no serverbound packets implemented yet
Serverbound => {},
Clientbound => {
0x0e: clientbound_change_difficulty_packet::ClientboundChangeDifficultyPacket,