mirror of
https://github.com/darksaid98/AntiCheatReloaded.git
synced 2026-12-03 22:15:28 +00:00
Fix missing permissions
This commit is contained in:
1 parent
37d580a4ba
commit
12c85b3939
2 files changed
+7
-4
No files matched your search
@@ -86,9 +86,7 @@ public class GlideCheck {
|
|||||||
&& !player.isSneaking()
|
&& !player.isSneaking()
|
||||||
&& !AntiCheatReloaded.getManager().getBackend().isEating(player)
|
&& !AntiCheatReloaded.getManager().getBackend().isEating(player)
|
||||||
&& !Utilities.isInWater(player)) {
|
&& !Utilities.isInWater(player)) {
|
||||||
// TODO that fallDistance check is a horrible way to prevent a certain false
|
// TODO change this, way too much falses
|
||||||
// positive
|
|
||||||
// Needs to be fixed since this only works for slight above ground movements
|
|
||||||
float predicted = calculateNextMotionY(LAST_MOTION_Y.get(player.getUniqueId()).floatValue());
|
float predicted = calculateNextMotionY(LAST_MOTION_Y.get(player.getUniqueId()).floatValue());
|
||||||
float actual = Double.valueOf(motionY).floatValue();
|
float actual = Double.valueOf(motionY).floatValue();
|
||||||
float scaledDifference = Math.abs((predicted - actual) + 0.1568f);
|
float scaledDifference = Math.abs((predicted - actual) + 0.1568f);
|
||||||
|
|||||||
@@ -118,6 +118,9 @@ permissions:
|
|||||||
anticheat.check.morepackets:
|
anticheat.check.morepackets:
|
||||||
description: Allow players to send lots of movement packets
|
description: Allow players to send lots of movement packets
|
||||||
default: false
|
default: false
|
||||||
|
anticheat.check.badpackets:
|
||||||
|
description: Allow players to send invalid movement packets
|
||||||
|
default: false
|
||||||
anticheat.check.velocity:
|
anticheat.check.velocity:
|
||||||
description: Allow players to use knockback prevention
|
description: Allow players to use knockback prevention
|
||||||
default: false
|
default: false
|
||||||
@@ -140,7 +143,8 @@ permissions:
|
|||||||
description: Total exemption from checks
|
description: Total exemption from checks
|
||||||
default: false
|
default: false
|
||||||
children:
|
children:
|
||||||
anticheat.check.fly: true
|
anticheat.check.flight: true
|
||||||
|
anticheat.check.elytrafly: true
|
||||||
anticheat.check.waterwalk: true
|
anticheat.check.waterwalk: true
|
||||||
anticheat.check.noswing: true
|
anticheat.check.noswing: true
|
||||||
anticheat.check.fastbreak: true
|
anticheat.check.fastbreak: true
|
||||||
@@ -164,6 +168,7 @@ permissions:
|
|||||||
anticheat.check.autotool: true
|
anticheat.check.autotool: true
|
||||||
anticheat.check.fastanimation: true
|
anticheat.check.fastanimation: true
|
||||||
anticheat.check.morepackets: true
|
anticheat.check.morepackets: true
|
||||||
|
anticheat.check.badpackets: true
|
||||||
anticheat.check.velocity: true
|
anticheat.check.velocity: true
|
||||||
anticheat.check.criticals: true
|
anticheat.check.criticals: true
|
||||||
anticheat.check.unicode: true
|
anticheat.check.unicode: true
|
||||||
|
|||||||
Reference in new issue
Block a user