aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShayne Hartford <shaybox@shaybox.com>2024-10-22 01:24:09 -0400
committerGitHub <noreply@github.com>2024-10-22 00:24:09 -0500
commit5e99c2218d3a8cc39b034128f584372c3a58142a (patch)
tree45edc3ccde19038a48a9b44953bb57cbed7af47d
parentcd2f298a62819a3fabc52ef17560c2124a74d555 (diff)
downloadazalea-drasl-5e99c2218d3a8cc39b034128f584372c3a58142a.tar.xz
Add missing yaw and patch fields to ServerboundUseItemPacket (#178)
(cherry picked from commit ed7b306aff5ed1d1ce9659d41f76f3f3a6884dd6)
-rwxr-xr-xazalea-protocol/src/packets/game/serverbound_use_item_packet.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/azalea-protocol/src/packets/game/serverbound_use_item_packet.rs b/azalea-protocol/src/packets/game/serverbound_use_item_packet.rs
index 7fcab5dd..3129244a 100755
--- a/azalea-protocol/src/packets/game/serverbound_use_item_packet.rs
+++ b/azalea-protocol/src/packets/game/serverbound_use_item_packet.rs
@@ -7,4 +7,6 @@ pub struct ServerboundUseItemPacket {
pub hand: InteractionHand,
#[var]
pub sequence: u32,
+ pub yaw: f32,
+ pub pitch: f32,
}