Skip to content

Commit

Permalink
1.7.7 BETA
Browse files Browse the repository at this point in the history
  • Loading branch information
JustDoom committed Oct 25, 2021
1 parent 728d0e8 commit 123cd79
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>com.justdoom</groupId>
<artifactId>FlappyAnticheat</artifactId>
<version>1.7.6-BETA</version>
<version>1.7.7-BETA</version>
<packaging>jar</packaging>

<name>FlappyAnticheat</name>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,9 @@ public void onPacketPlayReceive(PlayerMoveEvent event) {

if (ServerUtil.lowTPS(("checks." + check + "." + checkType).toLowerCase()))
return;
player.

if(player.isGliding() || (player.getInventory().getChestplate() != null && player.getInventory().getChestplate().getType() == Material.ELYTRA)) return;

//Thanks to sprit for this check - modified it to fit with the base, its usually much better :/
if (!data.onGround && !data.lastOnGround && !(data.entities.size() > 0)) {
double prediction = data.lastDeltaXZ * 0.91F + 0.0259F;
Expand Down

0 comments on commit 123cd79

Please sign in to comment.