diff --git a/src/main/java/fox/spiteful/avaritia/items/ItemArmorInfinity.java b/src/main/java/fox/spiteful/avaritia/items/ItemArmorInfinity.java index 0127326b..7ed2c9a0 100644 --- a/src/main/java/fox/spiteful/avaritia/items/ItemArmorInfinity.java +++ b/src/main/java/fox/spiteful/avaritia/items/ItemArmorInfinity.java @@ -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 {