diff options
Diffstat (limited to 'azalea-protocol/src/packets/game/c_set_entity_motion.rs')
| -rwxr-xr-x | azalea-protocol/src/packets/game/c_set_entity_motion.rs | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/azalea-protocol/src/packets/game/c_set_entity_motion.rs b/azalea-protocol/src/packets/game/c_set_entity_motion.rs index 7a112784..06b457f7 100755 --- a/azalea-protocol/src/packets/game/c_set_entity_motion.rs +++ b/azalea-protocol/src/packets/game/c_set_entity_motion.rs @@ -1,4 +1,5 @@ use azalea_buf::AzBuf; +use azalea_core::delta::PositionDelta8; use azalea_protocol_macros::ClientboundGamePacket; use azalea_world::MinecraftEntityId; @@ -6,7 +7,5 @@ use azalea_world::MinecraftEntityId; pub struct ClientboundSetEntityMotion { #[var] pub id: MinecraftEntityId, - pub xa: i16, - pub ya: i16, - pub za: i16, + pub delta: PositionDelta8, } |
