aboutsummaryrefslogtreecommitdiff
path: root/azalea-client/src
diff options
context:
space:
mode:
Diffstat (limited to 'azalea-client/src')
-rw-r--r--azalea-client/src/local_player.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/azalea-client/src/local_player.rs b/azalea-client/src/local_player.rs
index cc2a28dc..9e44913c 100644
--- a/azalea-client/src/local_player.rs
+++ b/azalea-client/src/local_player.rs
@@ -73,7 +73,7 @@ pub struct PermissionLevel(pub u8);
#[derive(Clone, Component, Debug, Default, Deref, DerefMut, Resource)]
pub struct TabList(HashMap<Uuid, PlayerInfo>);
-#[derive(Clone, Component)]
+#[derive(Clone, Component, Debug)]
pub struct Hunger {
/// The main hunger bar. This is typically in the range `0..=20`.
pub food: u32,
@@ -81,7 +81,7 @@ pub struct Hunger {
///
/// This isn't displayed in the vanilla Minecraft GUI, but it's used
/// internally by the game. It's a decrementing counter, and the player's
- /// [`Hunger::food`] only starts decreasing when this reaches 0.
+ /// [`Hunger::food`] only starts decreasing when their saturation reaches 0.
pub saturation: f32,
}