aboutsummaryrefslogtreecommitdiff
path: root/azalea-protocol/src/packets
diff options
context:
space:
mode:
authormat <github@matdoes.dev>2022-04-19 21:03:10 -0500
committermat <github@matdoes.dev>2022-04-19 21:03:10 -0500
commita3fad4765b7ef2077fde0b5c87a5cf657f9f6584 (patch)
tree56d80e3e886265ed3f98d91c2c4d967a181bd7fc /azalea-protocol/src/packets
parenta45eb6deb27b8623c3d3ba9b5e21cc638272f5c8 (diff)
downloadazalea-drasl-a3fad4765b7ef2077fde0b5c87a5cf657f9f6584.tar.xz
reorder some packets
Diffstat (limited to 'azalea-protocol/src/packets')
-rw-r--r--azalea-protocol/src/packets/game/mod.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/azalea-protocol/src/packets/game/mod.rs b/azalea-protocol/src/packets/game/mod.rs
index 904b38c8..2dbf7f24 100644
--- a/azalea-protocol/src/packets/game/mod.rs
+++ b/azalea-protocol/src/packets/game/mod.rs
@@ -11,9 +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,
- 0x12: clientbound_declare_commands_packet::ClientboundDeclareCommandsPacket
+ 0x4a: clientbound_update_view_distance_packet::ClientboundUpdateViewDistancePacket
}
);