From 7ad4b227267e3bb2da99ef5d76c30cd54d040157 Mon Sep 17 00:00:00 2001 From: mat <27899617+mat-1@users.noreply.github.com> Date: Fri, 18 Nov 2022 21:52:09 -0600 Subject: Add functions to get ChatPacket author and content (#42) * Add functions to get ChatPacket author and content * add ChatPacket::username and ChatPacket::content --- azalea-client/src/client.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'azalea-client/src/client.rs') diff --git a/azalea-client/src/client.rs b/azalea-client/src/client.rs index 326ba002..e271065c 100644 --- a/azalea-client/src/client.rs +++ b/azalea-client/src/client.rs @@ -64,7 +64,7 @@ pub enum Event { /// A player that you control that is currently in a Minecraft server. #[derive(Clone)] pub struct Client { - game_profile: GameProfile, + pub game_profile: GameProfile, pub read_conn: Arc>>, pub write_conn: Arc>>, pub player: Arc>, -- cgit v1.2.3