diff options
| author | mat <git@matdoes.dev> | 2025-04-18 01:09:49 +0200 |
|---|---|---|
| committer | mat <git@matdoes.dev> | 2025-04-18 01:09:49 +0200 |
| commit | e86087366ff2c5aeacc866a900f33aeba2bda6d0 (patch) | |
| tree | df59107396e44fa2c10c9a8098f7cfc0a94a8fbf /azalea-client | |
| parent | ad45cf5431939d088b97aa8a368ed910332b53d2 (diff) | |
| download | azalea-drasl-e86087366ff2c5aeacc866a900f33aeba2bda6d0.tar.xz | |
box display_name in PlayerInfo to make it smaller
Diffstat (limited to 'azalea-client')
| -rw-r--r-- | azalea-client/src/player.rs | 2 |
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. |
