diff options
| author | mat <git@matdoes.dev> | 2025-05-10 06:22:08 +0330 |
|---|---|---|
| committer | mat <git@matdoes.dev> | 2025-05-10 06:22:08 +0330 |
| commit | e1d3b902ba08170e4ee82c53f216445f57fbc47e (patch) | |
| tree | e383f7bb54edf654016a5c370786e6cb67ed28c4 /azalea-protocol/src/packets/game/s_use_item.rs | |
| parent | e9b3128103d203ad4902a40124e4d22a012c196a (diff) | |
| download | azalea-drasl-e1d3b902ba08170e4ee82c53f216445f57fbc47e.tar.xz | |
add StartUseItemEvent and improve code related to interactions
Diffstat (limited to 'azalea-protocol/src/packets/game/s_use_item.rs')
| -rw-r--r-- | azalea-protocol/src/packets/game/s_use_item.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/azalea-protocol/src/packets/game/s_use_item.rs b/azalea-protocol/src/packets/game/s_use_item.rs index ac8ae217..d6ccca87 100644 --- a/azalea-protocol/src/packets/game/s_use_item.rs +++ b/azalea-protocol/src/packets/game/s_use_item.rs @@ -8,6 +8,6 @@ pub struct ServerboundUseItem { pub hand: InteractionHand, #[var] pub sequence: u32, - pub yaw: f32, - pub pitch: f32, + pub y_rot: f32, + pub x_rot: f32, } |
