aboutsummaryrefslogtreecommitdiff
path: root/azalea-protocol/src/packets/game/serverbound_chat_command_packet.rs
diff options
context:
space:
mode:
authormat <27899617+mat-1@users.noreply.github.com>2022-10-16 23:08:39 -0500
committerGitHub <noreply@github.com>2022-10-16 23:08:39 -0500
commit0f88e05a0cfe43c910f130f8e70f51055d9f6fd2 (patch)
treedd1b899c7b90ae80b13bb0c84b44615dde63c7b1 /azalea-protocol/src/packets/game/serverbound_chat_command_packet.rs
parentab9e50b1307012b698d826a1f4d04b347ee2203f (diff)
downloadazalea-drasl-0f88e05a0cfe43c910f130f8e70f51055d9f6fd2.tar.xz
Add chat function (#28)
* add Client::chat * make the default bot do chat
Diffstat (limited to 'azalea-protocol/src/packets/game/serverbound_chat_command_packet.rs')
-rw-r--r--azalea-protocol/src/packets/game/serverbound_chat_command_packet.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/azalea-protocol/src/packets/game/serverbound_chat_command_packet.rs b/azalea-protocol/src/packets/game/serverbound_chat_command_packet.rs
index 426ca882..a840e44f 100644
--- a/azalea-protocol/src/packets/game/serverbound_chat_command_packet.rs
+++ b/azalea-protocol/src/packets/game/serverbound_chat_command_packet.rs
@@ -9,7 +9,7 @@ pub struct ServerboundChatCommandPacket {
pub command: String,
// TODO: Choose a real timestamp type
pub timestamp: u64,
- pub salt: i64,
+ pub salt: u64,
pub argument_signatures: Vec<ArgumentSignature>,
pub signed_preview: bool,
pub last_seen_messages: LastSeenMessagesUpdate,