aboutsummaryrefslogtreecommitdiff
path: root/azalea-protocol/src/packets/game/serverbound_chat_command_packet.rs
diff options
context:
space:
mode:
authormat <github@matdoes.dev>2022-07-29 02:59:40 -0500
committermat <github@matdoes.dev>2022-07-29 02:59:40 -0500
commit4ee4687053b7442f518823b08099c156f4da4e83 (patch)
tree11bb56330ed172a961d0a19069a086798d0aa804 /azalea-protocol/src/packets/game/serverbound_chat_command_packet.rs
parentaadf2de3cb751d563e743599a7fb345c08010f5a (diff)
downloadazalea-drasl-4ee4687053b7442f518823b08099c156f4da4e83.tar.xz
Split clientbound and serverbound packets
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.rs4
1 files changed, 2 insertions, 2 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 1639deae..02f8c64f 100644
--- a/azalea-protocol/src/packets/game/serverbound_chat_command_packet.rs
+++ b/azalea-protocol/src/packets/game/serverbound_chat_command_packet.rs
@@ -1,10 +1,10 @@
use azalea_buf::McBuf;
use azalea_crypto::MessageSignature;
-use packet_macros::GamePacket;
+use packet_macros::ServerboundGamePacket;
use super::clientbound_player_chat_packet::LastSeenMessagesUpdate;
-#[derive(Clone, Debug, McBuf, GamePacket)]
+#[derive(Clone, Debug, McBuf, ServerboundGamePacket)]
pub struct ServerboundChatCommandPacket {
pub command: String,
// TODO: Choose a real timestamp type