feather-rs / feather

A Minecraft server implementation in Rust
Apache License 2.0
2.61k stars 140 forks source link

Correctly specify packet for interaction (R-click) with an entity #503

Closed ghost closed 2 years ago

ghost commented 3 years ago

Correctly specify packet for interaction (R-click) with an entity

Status

Description

An incorrect specification for the packet representing interaction (right-click) from a player to an entity caused the server to crash.

This issue was fixed by changing the data types for the members of the packet representing the target position vectors.

Related issues

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.

ghost commented 3 years ago

Courtesy: dynamike#2054