This commit is contained in:
parent
94b0fcd657
commit
0b5d5ec742
1 changed files with 2 additions and 2 deletions
|
@ -34,7 +34,7 @@ public class NoFall extends Feature {
|
|||
|
||||
@Config("Disengage time")
|
||||
@Description("Directly depends on how performant the server is. If it's always 20TPS, this can be 2, otherwise higher.")
|
||||
@Range("2..10")
|
||||
@Range("2..20")
|
||||
@Gate(1)
|
||||
public int disengageTime = 2;
|
||||
|
||||
|
@ -132,7 +132,7 @@ public class NoFall extends Feature {
|
|||
mc.player.connection.sendPacket(new CPacketEntityAction(mc.player, CPacketEntityAction.Action.START_FALL_FLYING));
|
||||
// send fake rotation
|
||||
mc.player.connection.sendPacket(new CPacketPlayer.PositionRotation(mc.player.posX, mc.player.posY, mc.player.posZ, mc.player.rotationYaw, 0, false));
|
||||
cancelElytraNT = disengageTime + 10;
|
||||
cancelElytraNT = disengageTime;
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue