diff options
| author | mat <git@matdoes.dev> | 2024-02-25 16:53:08 -0600 |
|---|---|---|
| committer | mat <git@matdoes.dev> | 2024-02-25 16:53:08 -0600 |
| commit | 018ab55bdb02e7774044198c8a30e0d02a7c6e29 (patch) | |
| tree | ca9eb536985833eb158383153a322adfacf86267 /azalea/src/pathfinder/simulation.rs | |
| parent | 13426b035e43c4435854f175155439ab28a18544 (diff) | |
| download | azalea-drasl-018ab55bdb02e7774044198c8a30e0d02a7c6e29.tar.xz | |
optimize physics
Diffstat (limited to 'azalea/src/pathfinder/simulation.rs')
| -rw-r--r-- | azalea/src/pathfinder/simulation.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/azalea/src/pathfinder/simulation.rs b/azalea/src/pathfinder/simulation.rs index bea99e93..a5e8113f 100644 --- a/azalea/src/pathfinder/simulation.rs +++ b/azalea/src/pathfinder/simulation.rs @@ -113,8 +113,7 @@ fn create_simulation_player( )); entity.insert(player); - let entity_id = entity.id(); - entity_id + entity.id() } /// Simulate the Minecraft world to see if certain movements would be possible. |
