Skip to content

Commit

Permalink
Fix NoFall
Browse files Browse the repository at this point in the history
Minecraft's client-side fall distance counter is permanently stuck at zero as of 1.21.4.

Fixes #1092
  • Loading branch information
Alexander01998 committed Dec 13, 2024
1 parent 8c9f8a0 commit 3bea5ec
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/main/java/net/wurstclient/hacks/NoFallHack.java
Original file line number Diff line number Diff line change
Expand Up @@ -82,13 +82,6 @@ public void onUpdate()
// pause when holding a mace, if enabled
if(pauseForMace.isChecked() && isHoldingMace(player))
return;

// ignore small falls that can't cause damage,
// unless CreativeFlight is enabled in survival mode
boolean creativeFlying = WURST.getHax().creativeFlightHack.isEnabled()
&& player.getAbilities().flying;
if(!creativeFlying && player.fallDistance <= (fallFlying ? 1 : 2))
return;

// attempt to fix elytra weirdness, if allowed
if(fallFlying && player.isSneaking()
Expand Down

0 comments on commit 3bea5ec

Please sign in to comment.