1
2
Fork 0
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:
Ubuntu 2022-11-15 20:45:03 +00:00
parent 709c5dbc19
commit b9da6f7475

View file

@ -911,8 +911,8 @@ impl Client {
Ok(()) Ok(())
} }
/// Get the player metadata for ourselves. You can use this to get your /// Get your player entity's metadata. You can use this to get your health,
/// health, xp score, and other useful information. /// xp score, and other useful information.
pub fn metadata(&self) -> metadata::Player { pub fn metadata(&self) -> metadata::Player {
self.entity().metadata.clone().into_player().unwrap() self.entity().metadata.clone().into_player().unwrap()
} }