From dda76d06854be1f68c4e8147e82beda5ef4f91b8 Mon Sep 17 00:00:00 2001 From: Maya <10861407+serenibyss@users.noreply.github.com> Date: Mon, 3 Feb 2025 11:19:12 -0600 Subject: [PATCH] spotless --- .../spiteful/avaritia/items/ItemArmorInfinity.java | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) 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 {