aboutsummaryrefslogtreecommitdiff
path: root/azalea-protocol/src/packets/game/mod.rs
diff options
context:
space:
mode:
authormat <github@matdoes.dev>2022-04-20 16:28:31 +0000
committermat <github@matdoes.dev>2022-04-20 16:28:39 +0000
commit8bd97c6c96f2c3c1ef4edfc1ff9d59f9af664972 (patch)
treed435eea3d11b59e1d93124b1293d1c50fc063792 /azalea-protocol/src/packets/game/mod.rs
parentc5f10af09d1d2fee640b946da9ec5ca1bcd1e62d (diff)
downloadazalea-drasl-8bd97c6c96f2c3c1ef4edfc1ff9d59f9af664972.tar.xz
add player abilities packet
Diffstat (limited to 'azalea-protocol/src/packets/game/mod.rs')
-rw-r--r--azalea-protocol/src/packets/game/mod.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/azalea-protocol/src/packets/game/mod.rs b/azalea-protocol/src/packets/game/mod.rs
index 2dbf7f24..38630a0e 100644
--- a/azalea-protocol/src/packets/game/mod.rs
+++ b/azalea-protocol/src/packets/game/mod.rs
@@ -2,6 +2,7 @@ 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_player_abilities_packet;
pub mod clientbound_update_view_distance_packet;
use packet_macros::declare_state_packets;
@@ -14,6 +15,7 @@ declare_state_packets!(
0x12: clientbound_declare_commands_packet::ClientboundDeclareCommandsPacket,
0x18: clientbound_custom_payload_packet::ClientboundCustomPayloadPacket,
0x26: clientbound_login_packet::ClientboundLoginPacket,
+ 0x32: clientbound_player_abilities_packet::ClientboundPlayerAbilitiesPacket,
0x4a: clientbound_update_view_distance_packet::ClientboundUpdateViewDistancePacket
}
);