aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormat <git@matdoes.dev>2025-02-01 21:35:11 +0000
committermat <git@matdoes.dev>2025-02-01 21:35:11 +0000
commit8d71577da8a66c8270ba2f09fabd73eef2228cea (patch)
treee0b5d3cbb8f5acf8cc9474ae8c967391f3169c71
parent4562967b617589cb5aa7b401103e84fbb6b0775c (diff)
downloadazalea-drasl-8d71577da8a66c8270ba2f09fabd73eef2228cea.tar.xz
fix doc errors
-rw-r--r--azalea-client/src/client.rs3
-rw-r--r--azalea-client/src/raw_connection.rs2
-rw-r--r--azalea/src/pathfinder/mod.rs2
3 files changed, 4 insertions, 3 deletions
diff --git a/azalea-client/src/client.rs b/azalea-client/src/client.rs
index 1f8ebb53..37569d6b 100644
--- a/azalea-client/src/client.rs
+++ b/azalea-client/src/client.rs
@@ -721,8 +721,7 @@ impl Client {
/// `configuration` or `game` state.
///
/// For the components that are only present in the `game` state, see
-/// [`JoinedClientBundle`] and for the ones in the `configuration` state, see
-/// [`ConfigurationClientBundle`].
+/// [`JoinedClientBundle`].
#[derive(Bundle)]
pub struct LocalPlayerBundle {
pub raw_connection: RawConnection,
diff --git a/azalea-client/src/raw_connection.rs b/azalea-client/src/raw_connection.rs
index 50f41049..e3f35282 100644
--- a/azalea-client/src/raw_connection.rs
+++ b/azalea-client/src/raw_connection.rs
@@ -158,6 +158,8 @@ impl RawConnectionWriter {
/// Consume the [`ServerboundGamePacket`] queue and actually write the
/// packets to the server. It's like this so writing packets doesn't need to
/// be awaited.
+ ///
+ /// [`ServerboundGamePacket`]: azalea_protocol::packets::game::ServerboundGamePacket
pub async fn write_task(
self,
mut write_conn: RawWriteConnection,
diff --git a/azalea/src/pathfinder/mod.rs b/azalea/src/pathfinder/mod.rs
index 0c926d03..ae23788b 100644
--- a/azalea/src/pathfinder/mod.rs
+++ b/azalea/src/pathfinder/mod.rs
@@ -337,7 +337,7 @@ pub struct CalculatePathOpts {
pub goto_id_atomic: Arc<AtomicUsize>,
pub allow_mining: bool,
pub mining_cache: MiningCache,
- /// Also see [`GotoEvent::deterministic_timeout`]
+ /// Also see [`GotoEvent::min_timeout`].
pub min_timeout: PathfinderTimeout,
pub max_timeout: PathfinderTimeout,
}