From adc927d3194e81728c82eca6790326e3f8f78a70 Mon Sep 17 00:00:00 2001 From: Nolan Rosen Date: Mon, 12 Sep 2022 20:14:37 -0400 Subject: [PATCH] Cleaner fix to #10 (#52) --- src/protocol/packets/c2s.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/protocol/packets/c2s.rs b/src/protocol/packets/c2s.rs index 5237e10..ce03095 100644 --- a/src/protocol/packets/c2s.rs +++ b/src/protocol/packets/c2s.rs @@ -99,6 +99,7 @@ pub mod login { pub mod play { use super::super::*; + use crate::protocol::slot::Slot; def_struct! { TeleportConfirm { @@ -583,7 +584,7 @@ pub mod play { def_struct! { UpdateCreativeModeSlot { slot: i16, - // TODO: clicked_item: Slot, + clicked_item: Slot, } }