diff options
| author | mat <git@matdoes.dev> | 2025-06-03 03:48:36 +0500 |
|---|---|---|
| committer | mat <git@matdoes.dev> | 2025-06-03 03:48:36 +0500 |
| commit | abf995a70245028f9cc860ee231dc671f14adfcc (patch) | |
| tree | 3e6052c028c409e4bc7279dbd2e6bcc6bed63748 /azalea/src/pathfinder | |
| parent | 04dd6dd0a44faa760906bd60c9861a1b06a664a1 (diff) | |
| download | azalea-drasl-abf995a70245028f9cc860ee231dc671f14adfcc.tar.xz | |
replace wait_one_tick with wait_ticks and some other api improvements
Diffstat (limited to 'azalea/src/pathfinder')
| -rw-r--r-- | azalea/src/pathfinder/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/azalea/src/pathfinder/mod.rs b/azalea/src/pathfinder/mod.rs index 08c72f9a..5ee56643 100644 --- a/azalea/src/pathfinder/mod.rs +++ b/azalea/src/pathfinder/mod.rs @@ -260,7 +260,7 @@ impl PathfinderClientExt for azalea_client::Client { async fn wait_until_goto_target_reached(&self) { // we do this to make sure the event got handled before we start checking // is_goto_target_reached - self.wait_one_update().await; + self.wait_updates(1).await; let mut tick_broadcaster = self.get_tick_broadcaster(); while !self.is_goto_target_reached() { |
