Return false so that we can continue through the trace

This commit is contained in:
Iceee 2015-01-31 15:41:18 -06:00
parent 3f0644930a
commit fa96caf125

View File

@ -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);