mirror of
https://github.com/mat-1/azalea.git
synced 2025-08-02 14:26:04 +00:00
fix doc errors
This commit is contained in:
parent
4562967b61
commit
8d71577da8
3 changed files with 4 additions and 3 deletions
|
@ -721,8 +721,7 @@ impl Client {
|
||||||
/// `configuration` or `game` state.
|
/// `configuration` or `game` state.
|
||||||
///
|
///
|
||||||
/// For the components that are only present in the `game` state, see
|
/// For the components that are only present in the `game` state, see
|
||||||
/// [`JoinedClientBundle`] and for the ones in the `configuration` state, see
|
/// [`JoinedClientBundle`].
|
||||||
/// [`ConfigurationClientBundle`].
|
|
||||||
#[derive(Bundle)]
|
#[derive(Bundle)]
|
||||||
pub struct LocalPlayerBundle {
|
pub struct LocalPlayerBundle {
|
||||||
pub raw_connection: RawConnection,
|
pub raw_connection: RawConnection,
|
||||||
|
|
|
@ -158,6 +158,8 @@ impl RawConnectionWriter {
|
||||||
/// Consume the [`ServerboundGamePacket`] queue and actually write the
|
/// Consume the [`ServerboundGamePacket`] queue and actually write the
|
||||||
/// packets to the server. It's like this so writing packets doesn't need to
|
/// packets to the server. It's like this so writing packets doesn't need to
|
||||||
/// be awaited.
|
/// be awaited.
|
||||||
|
///
|
||||||
|
/// [`ServerboundGamePacket`]: azalea_protocol::packets::game::ServerboundGamePacket
|
||||||
pub async fn write_task(
|
pub async fn write_task(
|
||||||
self,
|
self,
|
||||||
mut write_conn: RawWriteConnection,
|
mut write_conn: RawWriteConnection,
|
||||||
|
|
|
@ -337,7 +337,7 @@ pub struct CalculatePathOpts {
|
||||||
pub goto_id_atomic: Arc<AtomicUsize>,
|
pub goto_id_atomic: Arc<AtomicUsize>,
|
||||||
pub allow_mining: bool,
|
pub allow_mining: bool,
|
||||||
pub mining_cache: MiningCache,
|
pub mining_cache: MiningCache,
|
||||||
/// Also see [`GotoEvent::deterministic_timeout`]
|
/// Also see [`GotoEvent::min_timeout`].
|
||||||
pub min_timeout: PathfinderTimeout,
|
pub min_timeout: PathfinderTimeout,
|
||||||
pub max_timeout: PathfinderTimeout,
|
pub max_timeout: PathfinderTimeout,
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue