mirror of
https://github.com/darksaid98/AntiCheatReloaded.git
synced 2026-12-01 22:14:49 +00:00
Remove old magic.yml contents, fix riptide false positive
This commit is contained in:
1 parent
f94a430d41
commit
37d580a4ba
4 files changed
+8
-8
No files matched your search
@@ -69,6 +69,13 @@ public class VersionUtil {
|
||||
}
|
||||
return p.isFlying() || p.isGliding() || p.hasPotionEffect(PotionEffectType.LEVITATION);
|
||||
}
|
||||
|
||||
public static boolean isRiptiding(Player player) {
|
||||
if (isBountifulUpdate()) {
|
||||
return false;
|
||||
}
|
||||
return player.isRiptiding();
|
||||
}
|
||||
|
||||
public static boolean isSlowFalling(Player player) {
|
||||
if (isBountifulUpdate()) {
|
||||
|
||||
Reference in new issue
Block a user