-
-
Notifications
You must be signed in to change notification settings - Fork 48
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Fix copy&paste mistake from chat command signed packet to chat command packet * Bugfix --------- Co-authored-by: EnderKill98 <[email protected]>
- Loading branch information
1 parent
f9e20fd
commit 350e32d
Showing
2 changed files
with
1 addition
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 0 additions & 12 deletions
12
azalea-protocol/src/packets/game/serverbound_chat_command_packet.rs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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, | ||
} |