aboutsummaryrefslogtreecommitdiff
path: root/azalea-protocol/src/packets/game/mod.rs
diff options
context:
space:
mode:
authormat <github@matdoes.dev>2022-04-19 21:29:07 -0500
committermat <github@matdoes.dev>2022-04-19 21:29:07 -0500
commit65dd2eacc2eb8c76ae8f496c8473537e380dbc17 (patch)
tree113e879b9bea299f797f16370ef105586c1232b3 /azalea-protocol/src/packets/game/mod.rs
parentdf318dba73750ce38afea675854a8ce6ccbc65e5 (diff)
parentcafa4dd76fecc9e331f35145e10539e1f5ac85f6 (diff)
downloadazalea-drasl-65dd2eacc2eb8c76ae8f496c8473537e380dbc17.tar.xz
Merge branch 'declare-commands-packet'
Diffstat (limited to 'azalea-protocol/src/packets/game/mod.rs')
-rw-r--r--azalea-protocol/src/packets/game/mod.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/azalea-protocol/src/packets/game/mod.rs b/azalea-protocol/src/packets/game/mod.rs
index a4304d9f..2dbf7f24 100644
--- a/azalea-protocol/src/packets/game/mod.rs
+++ b/azalea-protocol/src/packets/game/mod.rs
@@ -1,5 +1,6 @@
pub mod clientbound_change_difficulty_packet;
pub mod clientbound_custom_payload_packet;
+pub mod clientbound_declare_commands_packet;
pub mod clientbound_login_packet;
pub mod clientbound_update_view_distance_packet;
@@ -10,8 +11,9 @@ declare_state_packets!(
Serverbound => {},
Clientbound => {
0x0e: clientbound_change_difficulty_packet::ClientboundChangeDifficultyPacket,
+ 0x12: clientbound_declare_commands_packet::ClientboundDeclareCommandsPacket,
0x18: clientbound_custom_payload_packet::ClientboundCustomPayloadPacket,
0x26: clientbound_login_packet::ClientboundLoginPacket,
- 0x4a: clientbound_update_view_distance_packet::ClientboundUpdateViewDistancePacket,
+ 0x4a: clientbound_update_view_distance_packet::ClientboundUpdateViewDistancePacket
}
);