diff options
| author | mat <github@matdoes.dev> | 2022-05-14 20:03:24 -0500 |
|---|---|---|
| committer | mat <github@matdoes.dev> | 2022-05-14 20:03:24 -0500 |
| commit | f0792f25bbbf4ab038b4c1a0cdb4294f3580b16c (patch) | |
| tree | 2123987d0b52c5a6f34d6255d259acc54aec77b1 /azalea-protocol/src/packets/game/clientbound_player_abilities_packet.rs | |
| parent | 93730a550aed964d122bc08f5353e8eb0c5c9f31 (diff) | |
| download | azalea-drasl-f0792f25bbbf4ab038b4c1a0cdb4294f3580b16c.tar.xz | |
add derive McBuf to every packet
Diffstat (limited to 'azalea-protocol/src/packets/game/clientbound_player_abilities_packet.rs')
| -rwxr-xr-x | azalea-protocol/src/packets/game/clientbound_player_abilities_packet.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/azalea-protocol/src/packets/game/clientbound_player_abilities_packet.rs b/azalea-protocol/src/packets/game/clientbound_player_abilities_packet.rs index ed27ecf3..c3387f7f 100755 --- a/azalea-protocol/src/packets/game/clientbound_player_abilities_packet.rs +++ b/azalea-protocol/src/packets/game/clientbound_player_abilities_packet.rs @@ -1,8 +1,8 @@ use crate::mc_buf::{McBufReadable, McBufWritable, Readable}; -use packet_macros::GamePacket; +use packet_macros::{GamePacket, McBuf}; use std::io::{Read, Write}; -#[derive(Clone, Debug, GamePacket)] +#[derive(Clone, Debug, McBuf, GamePacket)] pub struct ClientboundPlayerAbilitiesPacket { pub flags: PlayerAbilitiesFlags, pub flying_speed: f32, |
