diff options
author | regenerativep <regeneralp@gmail.com> | 2021-06-29 15:36:51 -0400 |
---|---|---|
committer | regenerativep <regeneralp@gmail.com> | 2021-06-29 15:36:51 -0400 |
commit | e3d69dc043670dcc370e576a7eb3cb9b5a3e45fa (patch) | |
tree | 455bba2c15fa01b131b69e76de61a848e65384d4 | |
parent | 5e58c8153235a4bd93486c1196b2883280c2424e (diff) | |
download | mcproto-rs-e3d69dc043670dcc370e576a7eb3cb9b5a3e45fa.tar.gz mcproto-rs-e3d69dc043670dcc370e576a7eb3cb9b5a3e45fa.tar.bz2 mcproto-rs-e3d69dc043670dcc370e576a7eb3cb9b5a3e45fa.zip |
named contents wrong
-rw-r--r-- | src/chat.rs | 2 |
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")); |