aboutsummaryrefslogtreecommitdiff
path: root/azalea-protocol/src/packets/game/clientbound_declare_commands_packet.rs
diff options
context:
space:
mode:
authormat <27899617+mat-1@users.noreply.github.com>2022-07-30 22:57:02 +0000
committerGitHub <noreply@github.com>2022-07-30 22:57:02 +0000
commitbc71c74bef5f82de7224f97a65614251f3ed7cb1 (patch)
tree254a58c1ac77b047df0b86d75d3c6d9dd52c14fc /azalea-protocol/src/packets/game/clientbound_declare_commands_packet.rs
parent060d2f1592b98bca64b2ee15e103aa14db816227 (diff)
parent9ef1e8d653acd7e8e026cbde9c0320cedb8cf1d3 (diff)
downloadazalea-drasl-bc71c74bef5f82de7224f97a65614251f3ed7cb1.tar.xz
Merge pull request #13 from mat-1/split-clientbound-serverbound
Split clientbound and serverbound packets
Diffstat (limited to 'azalea-protocol/src/packets/game/clientbound_declare_commands_packet.rs')
-rwxr-xr-xazalea-protocol/src/packets/game/clientbound_declare_commands_packet.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/azalea-protocol/src/packets/game/clientbound_declare_commands_packet.rs b/azalea-protocol/src/packets/game/clientbound_declare_commands_packet.rs
index 0e680701..f45946d5 100755
--- a/azalea-protocol/src/packets/game/clientbound_declare_commands_packet.rs
+++ b/azalea-protocol/src/packets/game/clientbound_declare_commands_packet.rs
@@ -2,13 +2,13 @@ use azalea_buf::McBuf;
use azalea_buf::McBufVarReadable;
use azalea_buf::{McBufReadable, McBufWritable, Readable, Writable};
use azalea_core::ResourceLocation;
-use packet_macros::GamePacket;
+use packet_macros::ClientboundGamePacket;
use std::{
hash::Hash,
io::{Read, Write},
};
-#[derive(Clone, Debug, McBuf, GamePacket)]
+#[derive(Clone, Debug, McBuf, ClientboundGamePacket)]
pub struct ClientboundDeclareCommandsPacket {
pub entries: Vec<BrigadierNodeStub>,
#[var]