improve elytra mode in nofall
All checks were successful
/ Build BaseBand DSM & Broadway (push) Successful in 2m13s
All checks were successful
/ Build BaseBand DSM & Broadway (push) Successful in 2m13s
This commit is contained in:
parent
3caf43f642
commit
b8692ab2c1
1 changed files with 2 additions and 2 deletions
|
@ -102,7 +102,7 @@ public class NoFall extends Feature {
|
|||
ranThisFall = false;
|
||||
lastOnGround = mc.player.onGround;
|
||||
lastFallDist = mc.player.fallDistance;
|
||||
if(mode == Mode.Elytra) {
|
||||
if(mode == Mode.Elytra && !mc.player.isElytraFlying()) {
|
||||
int i;
|
||||
for (i = 0; i < 256; i++) {
|
||||
BlockPos down = mc.player.getPosition().down(i + 1);
|
||||
|
@ -113,7 +113,7 @@ public class NoFall extends Feature {
|
|||
ranThisFall = false;
|
||||
mc.player.fallDistance = 0;
|
||||
}
|
||||
if(!ranThisFall && mc.player.fallDistance > 3 && i <= mc.player.fallDistance / 4) {
|
||||
if(!ranThisFall && mc.player.fallDistance > 3 && i <= mc.player.fallDistance / 3) {
|
||||
engageElytra();
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue