Skip to content

Commit

Permalink
Fixed ElytraFly module making the player unable to jump when on a hor…
Browse files Browse the repository at this point in the history
…se. (CCBlueX#637)
  • Loading branch information
mems01 authored Oct 17, 2021
1 parent 7161fa9 commit c1cbdf0
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,11 @@ object ModuleElytraFly : Module("ElytraFly", Category.MOVEMENT) {
}

val repeatable = repeatable {

if (player.vehicle != null) {
return@repeatable
}

// Find the chest slot
val chestSlot = player.getEquippedStack(EquipmentSlot.CHEST)

Expand Down

0 comments on commit c1cbdf0

Please sign in to comment.