diff --git a/src/main/java/com/rammelkast/anticheatreloaded/check/movement/FlightCheck.java b/src/main/java/com/rammelkast/anticheatreloaded/check/movement/FlightCheck.java index 9698247..796a3c1 100644 --- a/src/main/java/com/rammelkast/anticheatreloaded/check/movement/FlightCheck.java +++ b/src/main/java/com/rammelkast/anticheatreloaded/check/movement/FlightCheck.java @@ -111,11 +111,12 @@ public class FlightCheck { // End AirFlight // Start AirClimb - // TODO two hardcoded values here shouldn't be there, temp against false + // TODO three hardcoded values here shouldn't be there, temp against false // positive if (checksConfig.isSubcheckEnabled(CheckType.FLIGHT, "airClimb") && movementManager.lastMotionY > 0 && movementManager.motionY > 0 && movementManager.airTicks == 2 && Math.round(movementManager.lastMotionY * 1000) != 420 + && Math.round(movementManager.motionY * 1000) != 248 && !(Math.round(movementManager.motionY * 1000) == 333 && Math.round(movementManager.lastMotionY * 1000) != 333) && !AntiCheatReloaded.getManager().getBackend().justVelocity(player) diff --git a/src/main/resources/magic.yml b/src/main/resources/magic.yml index 38c03e3..fa3aa0a 100644 --- a/src/main/resources/magic.yml +++ b/src/main/resources/magic.yml @@ -26,9 +26,9 @@ EXPLOSION_DAMAGE_TIME: 5000 # Amount of seconds to extend a players velocitized state after receiving velocity again VELOCITY_EXTENSION: 2 # Time a player is considered to have a change in velocity -VELOCITY_TIME: 2000 +VELOCITY_TIME: 1000 # This is a set value and shouldn't be changed unless you know what you're doing -VELOCITY_PREVENT: 5000 +VELOCITY_PREVENT: 2000 # This is a set value and shouldn't be changed unless you know what you're doing VELOCITY_MAXTIMES: 2 # Minimum travel distance for move to be considered a teleport and subsequently be ignored