From 4e0b617bea3d24e403e5d0bdb4635392442736b3 Mon Sep 17 00:00:00 2001 From: asofold Date: Wed, 9 Dec 2015 11:55:25 +0100 Subject: [PATCH] Add missing return value. --- .../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 52b0e952..511b6fdd 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 @@ -1742,7 +1742,7 @@ public class SurvivalFly extends Check { else if (data.insideMediumCount <= 1 && data.lastYDist < 0.8 && yDistance < data.lastYDist - GRAVITY_ODD && yDistance > data.lastYDist - GRAVITY_MAX ) { - + return new double[]{yDistance, 0.0}; } // In-water rough near-0-inversion from allowed speed to a negative amount, little more than allowed (magic -0.2 roughly). else if (data.lastYDist >= GRAVITY_MAX / 2.0 && data.lastYDist <= GRAVITY_MAX + GRAVITY_MIN / 2.0