aboutsummaryrefslogtreecommitdiff
path: root/azalea/src
diff options
context:
space:
mode:
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.