C4K3 / ozelot

Rust library for handling all MCMODERN networking
Creative Commons Zero v1.0 Universal
34 stars 9 forks source link

Fix UpdateScore packet #17

Closed zebp closed 4 years ago

zebp commented 4 years ago

The implementation of the UpdateScore packet had a bug where it reads an optional VarInt if the action was 1, but according to the protocol documentation this should be read when the action isn't 1.

https://wiki.vg/Protocol#Update_Score

C4K3 commented 4 years ago

Thanks!