stop efly from false stopping
All checks were successful
/ Build BaseBand (push) Successful in 2m35s

This commit is contained in:
Daniella / Tove 2024-10-05 00:25:33 +02:00
parent 23dd41daa5
commit 72d1ddc92c
Signed by: TudbuT
GPG key ID: B3CF345217F202D3

View file

@ -122,7 +122,7 @@ public class ElytraFly extends Feature {
@Override
public void onDisable() {
init = false;
if(stopOnDisable && !notIngame()) {
if(stopOnDisable && !notIngame() && !mc.player.onGround) {
if(!safeStop && mc.player.motionY >= -0.1 && mc.player.rotationPitch < 40) {
sendDisablePackets();
}