Skip to content

Commit

Permalink
spotless
Browse files Browse the repository at this point in the history
  • Loading branch information
serenibyss committed Feb 3, 2025
1 parent d3152e0 commit dda76d0
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/main/java/fox/spiteful/avaritia/items/ItemArmorInfinity.java
Original file line number Diff line number Diff line change
Expand Up @@ -333,12 +333,12 @@ public void updatePlayerAbilityStatus(LivingUpdateEvent event) {
}

// +50% speed up and down when flying
if(flying){
if (player.motionY > 0 && player.motionY < 2) {
player.motionY *= 1.5f;
} else if (player.motionY < 0 && player.motionY > -2) {
player.motionY *= 1.5f;
}
if (flying) {
if (player.motionY > 0 && player.motionY < 2) {
player.motionY *= 1.5f;
} else if (player.motionY < 0 && player.motionY > -2) {
player.motionY *= 1.5f;
}
}
}
} else {
Expand Down

0 comments on commit dda76d0

Please sign in to comment.