aboutsummaryrefslogtreecommitdiff
path: root/azalea/src/pathfinder/tests.rs
diff options
context:
space:
mode:
authormat <27899617+mat-1@users.noreply.github.com>2025-12-28 04:31:29 -0600
committerGitHub <noreply@github.com>2025-12-28 04:31:29 -0600
commit20c7e27250148f62bab9e7b99e4f0cd6deb82325 (patch)
tree163b312ef4dc72c5c23be923f8ca17cdf2a7278c /azalea/src/pathfinder/tests.rs
parent7ab3b8924f64f7eadb6b8928b6fae73cb06e4c2f (diff)
downloadazalea-drasl-20c7e27250148f62bab9e7b99e4f0cd6deb82325.tar.xz
Change Client::component to return a reference (#298)
* change Client::component to return a reference * write docs * merge main * remove unused parking_lot feature
Diffstat (limited to 'azalea/src/pathfinder/tests.rs')
-rw-r--r--azalea/src/pathfinder/tests.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/azalea/src/pathfinder/tests.rs b/azalea/src/pathfinder/tests.rs
index 6f4f7cb7..0297e425 100644
--- a/azalea/src/pathfinder/tests.rs
+++ b/azalea/src/pathfinder/tests.rs
@@ -94,7 +94,7 @@ pub fn wait_until_bot_starts_moving(simulation: &mut Simulation) {
let start_time = Instant::now();
while simulation.position() == start_pos
&& !simulation.is_mining()
- && start_time.elapsed() < Duration::from_millis(500)
+ && start_time.elapsed() < Duration::from_millis(1000)
{
simulation.tick();
thread::yield_now();