diff options
| author | mat <git@matdoes.dev> | 2024-12-19 02:31:08 +0000 |
|---|---|---|
| committer | mat <git@matdoes.dev> | 2024-12-19 02:52:41 +0000 |
| commit | e268c4929177e540baa9d2bb29bc171f49cc7a25 (patch) | |
| tree | 10146e529088ab823452a5971c0a37a8886b2a68 /azalea-protocol/src/packets/game/c_move_vehicle.rs | |
| parent | 1f06a1540f46d8087907566d7c6c1ab397c517ec (diff) | |
| download | azalea-drasl-e268c4929177e540baa9d2bb29bc171f49cc7a25.tar.xz | |
fix incorrect packets
Diffstat (limited to 'azalea-protocol/src/packets/game/c_move_vehicle.rs')
| -rwxr-xr-x | azalea-protocol/src/packets/game/c_move_vehicle.rs | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/azalea-protocol/src/packets/game/c_move_vehicle.rs b/azalea-protocol/src/packets/game/c_move_vehicle.rs index 96e3e5c2..e9891694 100755 --- a/azalea-protocol/src/packets/game/c_move_vehicle.rs +++ b/azalea-protocol/src/packets/game/c_move_vehicle.rs @@ -1,11 +1,10 @@ use azalea_buf::AzBuf; +use azalea_core::position::Vec3; +use azalea_entity::LookDirection; use azalea_protocol_macros::ClientboundGamePacket; #[derive(Clone, Debug, AzBuf, ClientboundGamePacket)] pub struct ClientboundMoveVehicle { - pub x: f64, - pub y: f64, - pub z: f64, - pub y_rot: f32, - pub x_rot: f32, + pub pos: Vec3, + pub look_direction: LookDirection, } |
