Closed ProfKambing closed 3 years ago
I haven't tested it yet. But it seems fine so far.
A potential issue might be the following. Sending an additional packet could lead to an AC kick/ban due to packet spam. For some ACs we're already very close to the maximum.
Or it cloud interfere when a player hits an entity at the same time. For the server it would look like the player is looking at the bed and hitting an entity at a different direction. In my experience more ACs react to this than breaking a bed without looking at it.
Sending the PlayerLook packet should at least be optional. A Setting for it would be good.
Also please make sure next time that you commit with the default line seperators. We use CRLF the Windows default. Thats why git shows that every line changed.
okay
i could make it use yawrotation instead of packet
make it toggable and ill merge
also use yawrotation
okay
i tried to add the setrotationyaw but its kinda retarded