From e0d5d205c1f7c9ae4d95abce833cbebdd256350f Mon Sep 17 00:00:00 2001 From: Kezi Date: Sat, 27 Jun 2020 23:16:25 +0200 Subject: [PATCH] protocol: pub fields in struct Stack (#344) --- protocol/src/item.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/protocol/src/item.rs b/protocol/src/item.rs index 7d797ed..6ecf65c 100644 --- a/protocol/src/item.rs +++ b/protocol/src/item.rs @@ -19,10 +19,10 @@ use std::io; #[derive(Debug)] pub struct Stack { - id: isize, - count: isize, - damage: Option, - tag: Option, + pub id: isize, + pub count: isize, + pub damage: Option, + pub tag: Option, } impl Default for Stack {