Skip to content

Commit

Permalink
changed var to false because they're always false anyways
Browse files Browse the repository at this point in the history
  • Loading branch information
XIII-MC committed Oct 19, 2024
1 parent a3e5e61 commit 87ed0c6
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions src/main/java/net/gteam/wave/checks/impl/fly/Fly10A.java
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,12 @@ public void handle(final ClientPlayPacket clientPlayPacket) {

if (invalid && !exempt) {

// GREEN (§a) till here
// YELLOW (§e) till here
// ORANGE (§6) till here
// GREEN (§a) till here
// YELLOW (§e) till here
// ORANGE (§6) till here
fail("§a" + "deltaY=" + deltaY + "\n"
+ "predictedDeltaY=" + predictedDeltaY + "\n"
+ "maximumOffset=" + maximumOffset + "\n" // GREEN (§a) till here
Expand All @@ -83,11 +89,11 @@ public void handle(final ClientPlayPacket clientPlayPacket) {
+ " -- halfBlocksTicks=" + movementData.getHalfBlocksTicks() + "\n"
+ " || offGroundTicks=" + movementData.getOffGroundTicks() + "\n"
+ " || deltaY=" + deltaY + "\n"
+ "jumped=" + jumped + "\n"
+ "jumped=" + false + "\n"
+ " -- lastOnGround=" + movementData.isLastOnGround() + "\n"
+ " && deltaY=" + deltaY + "\n" // YELLOW (§e) till here
+ "§6" + "exempt=" + false + "\n"
+ " || jumped=" + jumped + "\n"
+ " || jumped=" + false + "\n"
+ " || jumpedLowBlock=" + jumpLowBlock + "\n"
+ " || nearGround=" + nearGround + "\n"
+ " || teleportTicks=" + profile.getTeleportData().getTeleportTicks() + "\n"
Expand Down

0 comments on commit 87ed0c6

Please sign in to comment.