aboutsummaryrefslogtreecommitdiff
path: root/azalea-protocol/src/packets
diff options
context:
space:
mode:
Diffstat (limited to 'azalea-protocol/src/packets')
-rw-r--r--azalea-protocol/src/packets/game/c_player_info_update.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/azalea-protocol/src/packets/game/c_player_info_update.rs b/azalea-protocol/src/packets/game/c_player_info_update.rs
index 32bfe934..db3d38a5 100644
--- a/azalea-protocol/src/packets/game/c_player_info_update.rs
+++ b/azalea-protocol/src/packets/game/c_player_info_update.rs
@@ -24,7 +24,7 @@ pub struct PlayerInfoEntry {
pub listed: bool,
pub latency: i32,
pub game_mode: GameMode,
- pub display_name: Option<FormattedText>,
+ pub display_name: Option<Box<FormattedText>>,
pub list_order: i32,
pub update_hat: bool,
pub chat_session: Option<RemoteChatSessionData>,
@@ -54,7 +54,7 @@ pub struct UpdateLatencyAction {
}
#[derive(Clone, Debug, AzBuf)]
pub struct UpdateDisplayNameAction {
- pub display_name: Option<FormattedText>,
+ pub display_name: Option<Box<FormattedText>>,
}
#[derive(Clone, Debug, AzBuf)]
pub struct UpdateHatAction {