aboutsummaryrefslogtreecommitdiff
path: root/azalea/src
diff options
context:
space:
mode:
authormat <git@matdoes.dev>2024-02-25 16:53:08 -0600
committermat <git@matdoes.dev>2024-02-25 16:53:08 -0600
commit018ab55bdb02e7774044198c8a30e0d02a7c6e29 (patch)
treeca9eb536985833eb158383153a322adfacf86267 /azalea/src
parent13426b035e43c4435854f175155439ab28a18544 (diff)
downloadazalea-drasl-018ab55bdb02e7774044198c8a30e0d02a7c6e29.tar.xz
optimize physics
Diffstat (limited to 'azalea/src')
-rw-r--r--azalea/src/pathfinder/simulation.rs3
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.