aboutsummaryrefslogtreecommitdiff
path: root/azalea-client/src
diff options
context:
space:
mode:
Diffstat (limited to 'azalea-client/src')
-rw-r--r--azalea-client/src/player.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/azalea-client/src/player.rs b/azalea-client/src/player.rs
index 0940255c..d774e877 100644
--- a/azalea-client/src/player.rs
+++ b/azalea-client/src/player.rs
@@ -26,7 +26,7 @@ pub struct PlayerInfo {
/// The player's display name in the tab list, but only if it's different
/// from the player's normal username. Use `player_info.profile.name` to get
/// the player's actual username.
- pub display_name: Option<FormattedText>,
+ pub display_name: Option<Box<FormattedText>>,
}
/// Add a [`GameProfileComponent`] when an [`AddPlayerEvent`] is received.