fix elytrafly crash asaaasasas
All checks were successful
/ Build BaseBand DSM & Broadway (push) Successful in 2m16s
All checks were successful
/ Build BaseBand DSM & Broadway (push) Successful in 2m16s
This commit is contained in:
parent
9fe88a6440
commit
26f81ed71e
1 changed files with 1 additions and 1 deletions
|
@ -121,7 +121,7 @@ public class ElytraFly extends Feature {
|
||||||
@Override
|
@Override
|
||||||
public void onDisable() {
|
public void onDisable() {
|
||||||
init = false;
|
init = false;
|
||||||
if(stopOnDisable) {
|
if(stopOnDisable && !notIngame()) {
|
||||||
if(stopWithPacket) {
|
if(stopWithPacket) {
|
||||||
mc.player.connection.sendPacket(new CPacketPlayer.Position(mc.player.posX, mc.player.posY, mc.player.posZ, true));
|
mc.player.connection.sendPacket(new CPacketPlayer.Position(mc.player.posX, mc.player.posY, mc.player.posZ, true));
|
||||||
mc.player.connection.sendPacket(new CPacketEntityAction(mc.player, CPacketEntityAction.Action.START_FALL_FLYING));
|
mc.player.connection.sendPacket(new CPacketEntityAction(mc.player, CPacketEntityAction.Action.START_FALL_FLYING));
|
||||||
|
|
Loading…
Add table
Reference in a new issue