From ce04f3d521fb81d6b9386c3d740c0e612328c888 Mon Sep 17 00:00:00 2001 From: Auxilor Date: Fri, 5 May 2023 18:47:40 +0100 Subject: [PATCH] Fixed crit_multiplier --- .../com/willfp/libreforge/effects/impl/EffectCritMultiplier.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/main/kotlin/com/willfp/libreforge/effects/impl/EffectCritMultiplier.kt b/core/src/main/kotlin/com/willfp/libreforge/effects/impl/EffectCritMultiplier.kt index 9e482173a..3c874c5d2 100644 --- a/core/src/main/kotlin/com/willfp/libreforge/effects/impl/EffectCritMultiplier.kt +++ b/core/src/main/kotlin/com/willfp/libreforge/effects/impl/EffectCritMultiplier.kt @@ -25,7 +25,7 @@ object EffectCritMultiplier : Effect("crit_multiplier") { val event = data.event as? EntityDamageEvent ?: return false val player = data.player ?: return false - if (player.velocity.y >= 0) { + if (player.velocity.y >= -0.1) { return false }