Skip to content

Commit

Permalink
fix: cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
Snowiiii committed Oct 20, 2024
1 parent 8ede38d commit 655d02d
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions pumpkin/src/client/player_packet.rs
Original file line number Diff line number Diff line change
Expand Up @@ -436,9 +436,7 @@ impl Player {
victem_velocity.z as f32,
);
let velocity = entity.velocity.load();
entity
.velocity
.store(velocity.multiply(0.6, 1.0, 0.6));
entity.velocity.store(velocity.multiply(0.6, 1.0, 0.6));

victem_entity.velocity.store(saved_velo);
player.client.send_packet(packet).await;
Expand Down

0 comments on commit 655d02d

Please sign in to comment.