From 350e32d0a9f21103e271e80e63daa5711a78e1d7 Mon Sep 17 00:00:00 2001 From: EnderKill98 <117233381+EnderKill98@users.noreply.github.com> Date: Sun, 16 Jun 2024 23:03:34 +0200 Subject: Fix command packets (#155) * Fix copy&paste mistake from chat command signed packet to chat command packet * Bugfix --------- Co-authored-by: EnderKill98 --- .../src/packets/game/serverbound_chat_command_packet.rs | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'azalea-protocol/src') 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, - pub last_seen_messages: LastSeenMessagesUpdate, -} - -#[derive(Clone, Debug, McBuf)] -pub struct ArgumentSignature { - pub name: String, - pub signature: MessageSignature, } -- cgit v1.2.3