From 225e94d7323e699a8140179a878d7b0d9882e100 Mon Sep 17 00:00:00 2001 From: mat Date: Mon, 11 Sep 2023 23:04:37 -0500 Subject: fix onground --- azalea-client/src/packet_handling.rs | 9 --------- 1 file changed, 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(), -- cgit v1.2.3