aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoey Sacchini <joey@sacchini.net>2020-10-13 11:18:47 -0400
committerJoey Sacchini <joey@sacchini.net>2020-10-13 11:18:47 -0400
commitf9551225afecfc245de7a01e6b0afba9766908b5 (patch)
tree2993b90b87273e623e75c692eba9fa6edc5012b2
parentfcf31ef17b0d46a464cd9ad43cafb660c71faeac (diff)
downloadmcproto-rs-f9551225afecfc245de7a01e6b0afba9766908b5.tar.gz
mcproto-rs-f9551225afecfc245de7a01e6b0afba9766908b5.tar.bz2
mcproto-rs-f9551225afecfc245de7a01e6b0afba9766908b5.zip
fix stats
-rw-r--r--src/v1_15_2.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/v1_15_2.rs b/src/v1_15_2.rs
index e8ca172..8590a70 100644
--- a/src/v1_15_2.rs
+++ b/src/v1_15_2.rs
@@ -1067,8 +1067,7 @@ proto_varint_enum!(StatisticKind,
);
__protocol_body_def_helper!(Statistic {
- category: StatisticCategory,
- statistic: StatisticKind,
+ kind: StatisticCategory,
value: VarInt
});