Remove broken FastBreak and NoSwing, fixed false positives and more config migrations

This commit is contained in:
Rammelkast committed 2020-07-19 12:32:43 +02:00
1 parent 128a668e6c
commit 07f3c3abce
16 files changed
+128 -582

No files matched your search

@@ -43,6 +43,8 @@ public class MovementManager {
public double lastMotionY;
// Horizontal distance of movement
public double distanceXZ;
// Previous horizontal distance of movement
public double lastDistanceXZ;
// If the player touched the ground again this tick
public boolean touchedGroundThisTick = false;
// Last recorded distance
@@ -75,6 +77,7 @@ public class MovementManager {
double x = distance.getXDifference();
double z = distance.getZDifference();
this.lastDistanceXZ = this.distanceXZ;
this.distanceXZ = Math.sqrt(x * x + z * z);
// Account for standing on boat