aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--azalea-client/src/packet_handling.rs9
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(),