peace and quiet
This commit is contained in:
parent
37d4e7b178
commit
5b60d01c11
@ -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;
|
||||||
}
|
}
|
||||||
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user