diff options
| author | mat <git@matdoes.dev> | 2023-09-11 23:04:37 -0500 |
|---|---|---|
| committer | mat <git@matdoes.dev> | 2023-09-11 23:04:37 -0500 |
| commit | 225e94d7323e699a8140179a878d7b0d9882e100 (patch) | |
| tree | 9a7a8a33fab7d322eedcdcd417b1a521343d3ab7 | |
| parent | f8cca413613918a59520ac62c188e194fa27b300 (diff) | |
| download | azalea-drasl-225e94d7323e699a8140179a878d7b0d9882e100.tar.xz | |
fix onground
| -rw-r--r-- | azalea-client/src/packet_handling.rs | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/azalea-client/src/packet_handling.rs b/azalea-client/src/packet_handling.rs index c2a01659..5e037864 100644 --- a/azalea-client/src/packet_handling.rs +++ b/azalea-client/src/packet_handling.rs @@ -718,9 +718,6 @@ pub fn process_packet_events(ecs: &mut World) { let entity = entity_id_index.get(&MinecraftEntityId(p.id)); if let Some(entity) = entity { - if let Some(mut physics) = physics { - physics.on_ground = p.on_ground; - } let new_position = p.position; commands.entity(entity).add(RelativeEntityUpdate { partial_world: local_player.partial_instance.clone(), @@ -753,9 +750,6 @@ pub fn process_packet_events(ecs: &mut World) { let entity = entity_id_index.get(&MinecraftEntityId(p.entity_id)); if let Some(entity) = entity { - if let Some(mut physics) = physics { - physics.on_ground = p.on_ground; - } let delta = p.delta.clone(); commands.entity(entity).add(RelativeEntityUpdate { partial_world: local_player.partial_instance.clone(), @@ -785,9 +779,6 @@ pub fn process_packet_events(ecs: &mut World) { let entity = entity_id_index.get(&MinecraftEntityId(p.entity_id)); if let Some(entity) = entity { - if let Some(mut physics) = physics { - physics.on_ground = p.on_ground; - } let delta = p.delta.clone(); commands.entity(entity).add(RelativeEntityUpdate { partial_world: local_player.partial_instance.clone(), |
