aboutsummaryrefslogtreecommitdiff
path: root/azalea-protocol/src/packets/game/s_move_player_rot.rs
diff options
context:
space:
mode:
authormat <git@matdoes.dev>2024-12-19 02:31:08 +0000
committermat <git@matdoes.dev>2024-12-19 02:52:41 +0000
commite268c4929177e540baa9d2bb29bc171f49cc7a25 (patch)
tree10146e529088ab823452a5971c0a37a8886b2a68 /azalea-protocol/src/packets/game/s_move_player_rot.rs
parent1f06a1540f46d8087907566d7c6c1ab397c517ec (diff)
downloadazalea-drasl-e268c4929177e540baa9d2bb29bc171f49cc7a25.tar.xz
fix incorrect packets
Diffstat (limited to 'azalea-protocol/src/packets/game/s_move_player_rot.rs')
-rwxr-xr-xazalea-protocol/src/packets/game/s_move_player_rot.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/azalea-protocol/src/packets/game/s_move_player_rot.rs b/azalea-protocol/src/packets/game/s_move_player_rot.rs
index c3cda3ea..6aef91b0 100755
--- a/azalea-protocol/src/packets/game/s_move_player_rot.rs
+++ b/azalea-protocol/src/packets/game/s_move_player_rot.rs
@@ -1,9 +1,9 @@
use azalea_buf::AzBuf;
+use azalea_entity::LookDirection;
use azalea_protocol_macros::ServerboundGamePacket;
#[derive(Clone, Debug, AzBuf, ServerboundGamePacket)]
pub struct ServerboundMovePlayerRot {
- pub y_rot: f32,
- pub x_rot: f32,
+ pub look_direction: LookDirection,
pub on_ground: bool,
}