From e9f099eaed7b6e2de7a173805ee23b3ab16c3793 Mon Sep 17 00:00:00 2001 From: asofold Date: Fri, 23 Nov 2012 12:36:36 +0100 Subject: [PATCH] Also check y for isIllegal. --- src/fr/neatmonster/nocheatplus/utilities/PlayerLocation.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fr/neatmonster/nocheatplus/utilities/PlayerLocation.java b/src/fr/neatmonster/nocheatplus/utilities/PlayerLocation.java index d5beeb4b..c85a69c8 100644 --- a/src/fr/neatmonster/nocheatplus/utilities/PlayerLocation.java +++ b/src/fr/neatmonster/nocheatplus/utilities/PlayerLocation.java @@ -555,7 +555,7 @@ public class PlayerLocation { if (dY > 1.8) return true; // dY > 1.65D || if (dY < 0.1D) return true; } - if (Math.abs(minX) > 3.2E7D || Math.abs(maxX) > 3.2E7D || Math.abs(minZ) > 3.2E7D || Math.abs(maxZ) > 3.2E7D) return true; + if (Math.abs(minX) > 3.2E7D || Math.abs(maxX) > 3.2E7D || Math.abs(minY) > 3.2E7D || Math.abs(maxY) > 3.2E7D || Math.abs(minZ) > 3.2E7D || Math.abs(maxZ) > 3.2E7D) return true; return false; }