Skip to content

Commit

Permalink
modify some docs
Browse files Browse the repository at this point in the history
  • Loading branch information
mat-1 committed Aug 15, 2024
1 parent 73091d8 commit 74831ab
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion azalea-client/src/account.rs
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ impl Account {
Self::microsoft_with_custom_client_id_and_scope(email, None, None).await
}

/// Similar to [`account.microsoft()`](Self::microsoft) but you can use your
/// Similar to [`Account::microsoft`] but you can use your
/// own `client_id` and `scope`.
///
/// Pass `None` if you want to use default ones.
Expand Down
3 changes: 3 additions & 0 deletions azalea-client/src/mining.rs
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,9 @@ impl Client {
}
}

/// A component that simulates the client holding down left click to mine the
/// block that it's facing, but this only interacts with blocks and not
/// entities.
#[derive(Component)]
pub struct LeftClickMine;

Expand Down

0 comments on commit 74831ab

Please sign in to comment.