aboutsummaryrefslogtreecommitdiff
path: root/azalea-protocol/src/packets/game/clientbound_cooldown_packet.rs
diff options
context:
space:
mode:
authormat <github@matdoes.dev>2022-09-05 11:44:48 -0500
committermat <github@matdoes.dev>2022-09-05 11:44:48 -0500
commitfcb5bdf04241082d08b1ecc083745d6d97af61a9 (patch)
treeb41a76923e299dc60802d676a319c85f9c76858c /azalea-protocol/src/packets/game/clientbound_cooldown_packet.rs
parent4301a2f2d4c711fd50a54cf065079c42b89a72f2 (diff)
downloadazalea-drasl-fcb5bdf04241082d08b1ecc083745d6d97af61a9.tar.xz
use az-registry in az-protocol
Diffstat (limited to 'azalea-protocol/src/packets/game/clientbound_cooldown_packet.rs')
-rw-r--r--azalea-protocol/src/packets/game/clientbound_cooldown_packet.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/azalea-protocol/src/packets/game/clientbound_cooldown_packet.rs b/azalea-protocol/src/packets/game/clientbound_cooldown_packet.rs
index 36795575..41c8291a 100644
--- a/azalea-protocol/src/packets/game/clientbound_cooldown_packet.rs
+++ b/azalea-protocol/src/packets/game/clientbound_cooldown_packet.rs
@@ -3,9 +3,7 @@ use azalea_protocol_macros::ClientboundGamePacket;
#[derive(Clone, Debug, McBuf, ClientboundGamePacket)]
pub struct ClientboundCooldownPacket {
- // TODO: make azalea-items or something and use that
- #[var]
- pub item: u32,
+ pub item: azalea_registry::Item,
#[var]
pub duration: u32,
}