mirror of
https://github.com/darksaid98/AntiCheatReloaded.git
synced 2026-12-01 22:14:49 +00:00
Added support for 1.8.8
This commit is contained in:
1 parent
661718d001
commit
67e824ef28
14 files changed
+2368
-211
No files matched your search
@@ -73,9 +73,7 @@ public class SpeedCheck {
|
||||
} else if (player.isSprinting()) {
|
||||
String blockDownName = player.getLocation().getBlock().getRelative(BlockFace.DOWN).getType().name();
|
||||
if (blockDownName.endsWith("ICE")
|
||||
&& ((player.getEyeLocation().getBlock().getRelative(BlockFace.UP).getType() != Material.AIR)
|
||||
&& (player.getEyeLocation().getBlock().getRelative(BlockFace.UP)
|
||||
.getType() != Material.CAVE_AIR))) {
|
||||
&& (player.getEyeLocation().getBlock().getRelative(BlockFace.UP).getType() != Material.AIR)) {
|
||||
if (player.getLocation().getBlock().getType().name().endsWith("TRAPDOOR")) {
|
||||
reason = "while boosting on " + blockDownName.toLowerCase().replaceAll("_", " ")
|
||||
+ " and trapdoor";
|
||||
|
||||
Reference in new issue
Block a user