mirror of
https://github.com/mat-1/azalea.git
synced 2025-08-02 06:16:04 +00:00
fix onground
This commit is contained in:
parent
f8cca41361
commit
225e94d732
1 changed files with 0 additions and 9 deletions
|
@ -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(),
|
||||
|
|
Loading…
Add table
Reference in a new issue