aboutsummaryrefslogtreecommitdiff
path: root/azalea-protocol
diff options
context:
space:
mode:
authorEnderKill98 <117233381+EnderKill98@users.noreply.github.com>2024-06-16 23:03:34 +0200
committerGitHub <noreply@github.com>2024-06-16 16:03:34 -0500
commit350e32d0a9f21103e271e80e63daa5711a78e1d7 (patch)
tree00622929e2d7d11c7193a2485b50f111aa3afdec /azalea-protocol
parentf9e20fd11e72c836040ad001e80f3385ef60cb53 (diff)
downloadazalea-drasl-350e32d0a9f21103e271e80e63daa5711a78e1d7.tar.xz
Fix command packets (#155)
* Fix copy&paste mistake from chat command signed packet to chat command packet * Bugfix --------- Co-authored-by: EnderKill98 <no@mail.tld>
Diffstat (limited to 'azalea-protocol')
-rwxr-xr-xazalea-protocol/src/packets/game/serverbound_chat_command_packet.rs12
1 files changed, 0 insertions, 12 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 3c36c505..23a796d8 100755
--- a/azalea-protocol/src/packets/game/serverbound_chat_command_packet.rs
+++ b/azalea-protocol/src/packets/game/serverbound_chat_command_packet.rs
@@ -1,19 +1,7 @@
-use super::serverbound_chat_packet::LastSeenMessagesUpdate;
use azalea_buf::McBuf;
-use azalea_crypto::MessageSignature;
use azalea_protocol_macros::ServerboundGamePacket;
#[derive(Clone, Debug, McBuf, ServerboundGamePacket)]
pub struct ServerboundChatCommandPacket {
pub command: String,
- pub timestamp: u64,
- pub salt: u64,
- pub argument_signatures: Vec<ArgumentSignature>,
- pub last_seen_messages: LastSeenMessagesUpdate,
-}
-
-#[derive(Clone, Debug, McBuf)]
-pub struct ArgumentSignature {
- pub name: String,
- pub signature: MessageSignature,
}