Clarify anti nudge

This commit is contained in:
Brady 2018-10-22 18:01:55 -05:00
parent e5ca30dc26
commit ad941fcbb2
No known key found for this signature in database
GPG Key ID: 73A788379A197567

View File

@ -177,6 +177,8 @@ public final class RotationUtils {
* is by setting the desired pitch to the current pitch * is by setting the desired pitch to the current pitch
* setting the desired pitch to the current pitch + 0.0001 means that we do have a desired pitch, it's * setting the desired pitch to the current pitch + 0.0001 means that we do have a desired pitch, it's
* just what it currently is * just what it currently is
*
* or if you're a normal person literally all this does it ensure that we don't nudge the pitch to a normal level
*/ */
return Optional.of(new Rotation(entity.rotationYaw, entity.rotationPitch + 0.0001F)); return Optional.of(new Rotation(entity.rotationYaw, entity.rotationPitch + 0.0001F));
} }