aboutsummaryrefslogtreecommitdiff
path: root/azalea-protocol/src/packets/game/clientbound_animate_packet.rs
diff options
context:
space:
mode:
authormat <github@matdoes.dev>2022-05-14 19:55:33 -0500
committermat <github@matdoes.dev>2022-05-14 19:55:33 -0500
commit93730a550aed964d122bc08f5353e8eb0c5c9f31 (patch)
treeff7049aa81e152b0c69192434fc5a2c15b8c6b9e /azalea-protocol/src/packets/game/clientbound_animate_packet.rs
parent3f77390e2671045ed3ea45f24a9ade151eafe700 (diff)
downloadazalea-drasl-93730a550aed964d122bc08f5353e8eb0c5c9f31.tar.xz
start adding ClientboundLevelParticlesPacket
Diffstat (limited to 'azalea-protocol/src/packets/game/clientbound_animate_packet.rs')
-rw-r--r--azalea-protocol/src/packets/game/clientbound_animate_packet.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/azalea-protocol/src/packets/game/clientbound_animate_packet.rs b/azalea-protocol/src/packets/game/clientbound_animate_packet.rs
index 84a20381..6ac4bd99 100644
--- a/azalea-protocol/src/packets/game/clientbound_animate_packet.rs
+++ b/azalea-protocol/src/packets/game/clientbound_animate_packet.rs
@@ -1,4 +1,4 @@
-use packet_macros::{GamePacket, McBufReadable, McBufWritable};
+use packet_macros::{GamePacket, McBuf};
#[derive(Clone, Debug, GamePacket)]
pub struct ClientboundAnimatePacket {
@@ -9,7 +9,7 @@ pub struct ClientboundAnimatePacket {
// minecraft actually uses a u8 for this, but a varint still works and makes it
// so i don't have to add a special handler
-#[derive(Clone, Debug, Copy, McBufReadable, McBufWritable)]
+#[derive(Clone, Debug, Copy, McBuf)]
pub enum AnimationAction {
SwingMainHand = 0,
Hurt = 1,