From f9cfd8bd5b8c62d7e95bbf62a52833fe05e6cc77 Mon Sep 17 00:00:00 2001 From: asofold <asofold@web.de> Date: Sun, 9 Sep 2012 07:22:56 +0200 Subject: [PATCH] Question. --- src/fr/neatmonster/nocheatplus/checks/moving/SurvivalFly.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/fr/neatmonster/nocheatplus/checks/moving/SurvivalFly.java b/src/fr/neatmonster/nocheatplus/checks/moving/SurvivalFly.java index 016e067d..68b03068 100644 --- a/src/fr/neatmonster/nocheatplus/checks/moving/SurvivalFly.java +++ b/src/fr/neatmonster/nocheatplus/checks/moving/SurvivalFly.java @@ -131,6 +131,7 @@ public class SurvivalFly extends Check { double hDistanceAboveLimit = hDistance - hAllowedDistance - data.horizontalFreedom; // Prevent players from walking on a liquid. + // TODO: yDistance == 0D <- should there not be a tolerance +- or 0...x ? if (hDistanceAboveLimit <= 0D && hDistance > 0.1D && yDistance == 0D && MovingListener.isLiquid(to.getLocation().getBlock().getType()) && !to.isOnGround() && to.getY() % 1D < 0.8D)