diff --git a/NCPCore/src/main/java/fr/neatmonster/nocheatplus/checks/moving/MovingListener.java b/NCPCore/src/main/java/fr/neatmonster/nocheatplus/checks/moving/MovingListener.java index 6dae8c30..74d6b115 100644 --- a/NCPCore/src/main/java/fr/neatmonster/nocheatplus/checks/moving/MovingListener.java +++ b/NCPCore/src/main/java/fr/neatmonster/nocheatplus/checks/moving/MovingListener.java @@ -604,7 +604,7 @@ public class MovingListener extends CheckListener implements TickListener, IRemo if (newTo == null && cc.morePacketsCheck && !NCPExemptionManager.isExempted(player, CheckType.MOVING_MOREPACKETS) && !player.hasPermission(Permissions.MOVING_MOREPACKETS)) { // If it hasn't been stopped by any other check and is handled by the more packets check, execute it. // TODO: Still feed morepackets even if cancelled. - if (pFrom.manhattan(pTo) > 0.0) { + if (TrigUtil.distanceSquared(pFrom, pTo) > 0.0) { newTo = morePackets.check(player, pFrom, pTo, data, cc); } } else {