Fix missing permissions

This commit is contained in:
Rammelkast committed 2020-06-02 20:56:03 +02:00
1 parent 37d580a4ba
commit 12c85b3939
2 files changed
+7 -4

No files matched your search

@@ -86,9 +86,7 @@ public class GlideCheck {
&& !player.isSneaking()
&& !AntiCheatReloaded.getManager().getBackend().isEating(player)
&& !Utilities.isInWater(player)) {
// TODO that fallDistance check is a horrible way to prevent a certain false
// positive
// Needs to be fixed since this only works for slight above ground movements
// TODO change this, way too much falses
float predicted = calculateNextMotionY(LAST_MOTION_Y.get(player.getUniqueId()).floatValue());
float actual = Double.valueOf(motionY).floatValue();
float scaledDifference = Math.abs((predicted - actual) + 0.1568f);
+6 -1
View File
@@ -118,6 +118,9 @@ permissions:
anticheat.check.morepackets:
description: Allow players to send lots of movement packets
default: false
anticheat.check.badpackets:
description: Allow players to send invalid movement packets
default: false
anticheat.check.velocity:
description: Allow players to use knockback prevention
default: false
@@ -140,7 +143,8 @@ permissions:
description: Total exemption from checks
default: false
children:
anticheat.check.fly: true
anticheat.check.flight: true
anticheat.check.elytrafly: true
anticheat.check.waterwalk: true
anticheat.check.noswing: true
anticheat.check.fastbreak: true
@@ -164,6 +168,7 @@ permissions:
anticheat.check.autotool: true
anticheat.check.fastanimation: true
anticheat.check.morepackets: true
anticheat.check.badpackets: true
anticheat.check.velocity: true
anticheat.check.criticals: true
anticheat.check.unicode: true