and another

This commit is contained in:
Leijurv 2018-11-14 13:48:45 -08:00
parent 5a52cea415
commit e4045e1343
No known key found for this signature in database
GPG Key ID: 44A3EA646EADAC6A

View File

@ -77,7 +77,7 @@ public class MovementFall extends Movement {
targetRotation = new Rotation(toDest.getYaw(), 90.0F);
RayTraceResult trace = mc.objectMouseOver;
RayTraceResult trace = ctx.objectMouseOver();
if (trace != null && trace.typeOfHit == RayTraceResult.Type.BLOCK && ctx.player().rotationPitch > 89.0F) {
state.setInput(Input.CLICK_RIGHT, true);
}