diff options
| author | Shayne Hartford <shaybox@shaybox.com> | 2024-10-22 01:24:09 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-10-22 00:24:09 -0500 |
| commit | 5e99c2218d3a8cc39b034128f584372c3a58142a (patch) | |
| tree | 45edc3ccde19038a48a9b44953bb57cbed7af47d | |
| parent | cd2f298a62819a3fabc52ef17560c2124a74d555 (diff) | |
| download | azalea-drasl-5e99c2218d3a8cc39b034128f584372c3a58142a.tar.xz | |
Add missing yaw and patch fields to ServerboundUseItemPacket (#178)
(cherry picked from commit ed7b306aff5ed1d1ce9659d41f76f3f3a6884dd6)
| -rwxr-xr-x | azalea-protocol/src/packets/game/serverbound_use_item_packet.rs | 2 |
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, } |
