aboutsummaryrefslogtreecommitdiff
path: root/azalea-client/src/player.rs
diff options
context:
space:
mode:
authormat <git@matdoes.dev>2025-04-18 01:09:49 +0200
committermat <git@matdoes.dev>2025-04-18 01:09:49 +0200
commite86087366ff2c5aeacc866a900f33aeba2bda6d0 (patch)
treedf59107396e44fa2c10c9a8098f7cfc0a94a8fbf /azalea-client/src/player.rs
parentad45cf5431939d088b97aa8a368ed910332b53d2 (diff)
downloadazalea-drasl-e86087366ff2c5aeacc866a900f33aeba2bda6d0.tar.xz
box display_name in PlayerInfo to make it smaller
Diffstat (limited to 'azalea-client/src/player.rs')
-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.