From f3a137709b668405ed3685b46a7583ff5927c547 Mon Sep 17 00:00:00 2001 From: asofold Date: Sun, 13 Sep 2015 14:47:31 +0200 Subject: [PATCH] Part-revert activating vertical accounting once velocity is used up. * Don't activate accounting (velocity downwards issue, needs recode). * Do still check yDirChange once velocity effects are gone. --- .../fr/neatmonster/nocheatplus/checks/moving/SurvivalFly.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/NCPCore/src/main/java/fr/neatmonster/nocheatplus/checks/moving/SurvivalFly.java b/NCPCore/src/main/java/fr/neatmonster/nocheatplus/checks/moving/SurvivalFly.java index c1ddfb5e..8b2e7856 100644 --- a/NCPCore/src/main/java/fr/neatmonster/nocheatplus/checks/moving/SurvivalFly.java +++ b/NCPCore/src/main/java/fr/neatmonster/nocheatplus/checks/moving/SurvivalFly.java @@ -808,7 +808,7 @@ public class SurvivalFly extends Check { // Allow adding 0. data.vDistAcc.add((float) yDistance); } - else if (!data.hasAnyVerVel()) { + else if (!data.isVelocityJumpPhase()) { // TODO: !data.hasAnyVerVel()) { // Here yDistance can be negative and positive. if (yDistance != 0D) { data.vDistAcc.add((float) yDistance);