feather-rs / feather

A Minecraft server implementation in Rust
Apache License 2.0
2.58k stars 142 forks source link

Fix state change packet #525

Closed Iaiao closed 2 years ago

Iaiao commented 2 years ago

Fix state change packet

Status

Description

It uses f32 instead of f64. It somehow works on 1.16.5, but disconnects on 1.18.1 with message "Found 4 extra bytes in packet 30"

Related issues

521

Checklist

Note: if you locally don't get any errors, but GitHub Actions fails (especially at clippy) you might want to check your rust toolchain version. You can then feel free to fix these warnings/errors in your PR.