Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Read and write entity eye height in Vibration particle wrapper
Fixes joshuaprince/CoordinateOffset#9 Vibration particle data for vibrations emitted by entities contains an "entity eye height" field. The ParticleVibrationData wrapper for WrapperPlayServerParticle did not read or write this field, so any usage of this wrapper would corrupt the packet and cause players to be kicked when they moved near an entity that can receive vibrations (i.e. Wardens). Tested on 1.19.4 and 1.20.4. This field has been present and unchanged since 1.19's changes to the Vibration particle (which is also the first fully-released version to add Wardens): https://wiki.vg/index.php?title=Data_types&oldid=17608#Particle
- Loading branch information