aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorregenerativep <regeneralp@gmail.com>2021-06-29 15:36:51 -0400
committerregenerativep <regeneralp@gmail.com>2021-06-29 15:36:51 -0400
commite3d69dc043670dcc370e576a7eb3cb9b5a3e45fa (patch)
tree455bba2c15fa01b131b69e76de61a848e65384d4
parent5e58c8153235a4bd93486c1196b2883280c2424e (diff)
downloadmcproto-rs-e3d69dc043670dcc370e576a7eb3cb9b5a3e45fa.tar.gz
mcproto-rs-e3d69dc043670dcc370e576a7eb3cb9b5a3e45fa.tar.bz2
mcproto-rs-e3d69dc043670dcc370e576a7eb3cb9b5a3e45fa.zip
named contents wrong
-rw-r--r--src/chat.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/chat.rs b/src/chat.rs
index fbce103..4770579 100644
--- a/src/chat.rs
+++ b/src/chat.rs
@@ -1098,7 +1098,7 @@ where
return Err(A::Error::custom("none for value key=action"));
}
}
- "value" | "content" => {
+ "value" | "contents" => {
value = access.next_value()?;
if value.is_none() {
return Err(A::Error::custom("none for value key=value"));