mirror of
https://github.com/mat-1/azalea.git
synced 2025-08-02 14:26:04 +00:00
rephrase that
This commit is contained in:
parent
709c5dbc19
commit
b9da6f7475
1 changed files with 2 additions and 2 deletions
|
@ -911,8 +911,8 @@ impl Client {
|
|||
Ok(())
|
||||
}
|
||||
|
||||
/// Get the player metadata for ourselves. You can use this to get your
|
||||
/// health, xp score, and other useful information.
|
||||
/// Get your player entity's metadata. You can use this to get your health,
|
||||
/// xp score, and other useful information.
|
||||
pub fn metadata(&self) -> metadata::Player {
|
||||
self.entity().metadata.clone().into_player().unwrap()
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue