MCHPR / MCHPRS

A multithreaded Minecraft server built for redstone.
MIT License
1.65k stars 73 forks source link

Fix write order of C00SpawnEntity, pitch first then yaw. #27

Closed shouttrickword closed 3 years ago

shouttrickword commented 3 years ago

While editing the code Item Frames were behaving strangely. The entities would rotate in pitch instead of yaw, this seems to have been the cause of the strange behaviour. This new write order also aligns with the protocol description over at wiki.vg.

StackDoubleFlow commented 3 years ago

Good catch! Looks like I might have copy/pasted that from the Spawn Player packet 😄