diff options
| author | mat <github@matdoes.dev> | 2022-10-21 21:44:39 -0500 |
|---|---|---|
| committer | mat <github@matdoes.dev> | 2022-10-21 21:44:39 -0500 |
| commit | b95e69be8f4fcf3c1069739cf29f66cfe2a74d6b (patch) | |
| tree | ab05da83c814b6b3296a4e109c33007d412b7ebd /azalea-client | |
| parent | aa1f2a55e047f528dcb78509b025548696e42543 (diff) | |
| download | azalea-drasl-b95e69be8f4fcf3c1069739cf29f66cfe2a74d6b.tar.xz | |
add function that gets full message content
Diffstat (limited to 'azalea-client')
| -rw-r--r-- | azalea-client/src/client.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/azalea-client/src/client.rs b/azalea-client/src/client.rs index c70d0e90..a59c340b 100644 --- a/azalea-client/src/client.rs +++ b/azalea-client/src/client.rs @@ -64,7 +64,7 @@ impl ChatPacket { pub fn message(&self) -> Component { match self { ChatPacket::System(p) => p.content.clone(), - ChatPacket::Player(p) => p.message.message(false), + ChatPacket::Player(p) => p.message(false), } } } |
