peace and quiet

This commit is contained in:
leijurv 2018-08-24 08:42:54 -07:00
parent 37d4e7b178
commit 5b60d01c11
2 changed files with 1 additions and 3 deletions

View File

@ -175,7 +175,7 @@ public class MovementAscend extends Movement {
double flatDistToNext = xAxis * Math.abs((dest.getX() + 0.5D) - player().posX) + zAxis * Math.abs((dest.getZ() + 0.5D) - player().posZ); double flatDistToNext = xAxis * Math.abs((dest.getX() + 0.5D) - player().posX) + zAxis * Math.abs((dest.getZ() + 0.5D) - player().posZ);
double sideDist = zAxis * Math.abs((dest.getX() + 0.5D) - player().posX) + xAxis * Math.abs((dest.getZ() + 0.5D) - player().posZ); double sideDist = zAxis * Math.abs((dest.getX() + 0.5D) - player().posX) + xAxis * Math.abs((dest.getZ() + 0.5D) - player().posZ);
System.out.println(flatDistToNext + " " + sideDist); //System.out.println(flatDistToNext + " " + sideDist);
if (flatDistToNext > 1.2) { if (flatDistToNext > 1.2) {
return state; return state;
} }

View File

@ -84,8 +84,6 @@ public final class InputOverrideHandler implements Helper {
* @param forced Whether or not the state is being forced * @param forced Whether or not the state is being forced
*/ */
public final void setInputForceState(Input input, boolean forced) { public final void setInputForceState(Input input, boolean forced) {
if (!forced)
System.out.println(input);
inputForceStateMap.put(input.getKeyBinding(), forced); inputForceStateMap.put(input.getKeyBinding(), forced);
} }