i cannot believe that actually fixed it

This commit is contained in:
Leijurv 2018-08-11 20:55:51 -07:00
parent 31113c2702
commit cf3d3cb48d
No known key found for this signature in database
GPG Key ID: 44A3EA646EADAC6A

View File

@ -58,7 +58,7 @@ public final class LookBehaviorUtils implements Helper {
public static Optional<Rotation> reachable(BlockPos pos) { public static Optional<Rotation> reachable(BlockPos pos) {
if (pos.equals(getSelectedBlock().orElse(null))) { if (pos.equals(getSelectedBlock().orElse(null))) {
return Optional.of(new Rotation(mc.player.rotationYaw, mc.player.rotationPitch + 0.000001f)); return Optional.of(new Rotation(mc.player.rotationYaw, mc.player.rotationPitch + 0.0001f));
} }
Optional<Rotation> possibleRotation = reachableCenter(pos); Optional<Rotation> possibleRotation = reachableCenter(pos);
if (possibleRotation.isPresent()) if (possibleRotation.isPresent())