fix a nofall bug where you sometimes just get "random" fall dmg in Elytra mode lol
All checks were successful
/ Build BaseBand DSM & Broadway (push) Successful in 2m12s
All checks were successful
/ Build BaseBand DSM & Broadway (push) Successful in 2m12s
This commit is contained in:
parent
0b5d5ec742
commit
3caf43f642
1 changed files with 1 additions and 1 deletions
|
@ -63,7 +63,7 @@ public class NoFall extends Feature {
|
|||
}
|
||||
|
||||
// we check the fall distance so we dont interfere with things that require server-side onground, **LAMBDA**!
|
||||
if(mode == Mode.NeverTouch || ((mode == Mode.Elytra || mode == Mode.AlwaysTouch) && lastFallDist > 2)) {
|
||||
if(mode == Mode.NeverTouch || (mode == Mode.AlwaysTouch && lastFallDist > 2)) {
|
||||
try {
|
||||
FieldFinder.findUnmarked(CPacketPlayer.class, boolean.class, 0).set(packet, mode == Mode.AlwaysTouch);
|
||||
} catch (IllegalAccessException e) {
|
||||
|
|
Loading…
Add table
Reference in a new issue