From 018ab55bdb02e7774044198c8a30e0d02a7c6e29 Mon Sep 17 00:00:00 2001 From: mat Date: Sun, 25 Feb 2024 16:53:08 -0600 Subject: optimize physics --- azalea/src/pathfinder/simulation.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'azalea/src') 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. -- cgit v1.2.3