From fa96caf125042667f9d839d61be2d7e8743b2d00 Mon Sep 17 00:00:00 2001 From: Iceee Date: Sat, 31 Jan 2015 15:41:18 -0600 Subject: [PATCH] Return false so that we can continue through the trace --- .../java/fr/neatmonster/nocheatplus/checks/fight/Direction.java | 1 + 1 file changed, 1 insertion(+) diff --git a/NCPCore/src/main/java/fr/neatmonster/nocheatplus/checks/fight/Direction.java b/NCPCore/src/main/java/fr/neatmonster/nocheatplus/checks/fight/Direction.java index 3f215ca3..d28a4b18 100644 --- a/NCPCore/src/main/java/fr/neatmonster/nocheatplus/checks/fight/Direction.java +++ b/NCPCore/src/main/java/fr/neatmonster/nocheatplus/checks/fight/Direction.java @@ -146,6 +146,7 @@ public class Direction extends Check { final Vector blockEyes = new Vector(dLoc.x - loc.getX(), dLoc.y + context.damagedHeight / 2D - loc.getY() - player.getEyeHeight(), dLoc.z - loc.getZ()); final double distance = blockEyes.crossProduct(context.direction).length() / context.lengthDirection; context.minViolation = Math.min(context.minViolation, distance); + cancel = true; } context.minResult = Math.min(context.minResult, off);