Open nicoxxl opened 3 years ago
Hi, I will have a look at this tonight. I believe I've also run into this issue before. Thanks for submitting this report.
I recently had this problem. It seems like mcproto is looking for a "value" key in the hoverEvent
, but, even though its even specified like that in wiki.vg, that's not the case in the JSON minecraft is sending.
Turning line 1009 in chat.rs from
"value" => {
to
"value" | "contents" => {
appears to fix it for me.
Hi, I'm having an error as a client trying to decode chat messages.
First of all, I'm running it on 1.16.5 minecraft server (there is a change in protocol version but I did not see any change in protocol, so I'm not sure if it is not from there).
On my code I used
dbg!()
on `` and I get this :The formatted JSON looks like that :
In the code I saw this :
You did not used
#[serde(rename = "name")]
to swith to camelCase, is that an error or the protocol changed ?