From 068d36814b6d955ea7d03308503108366b094cdf Mon Sep 17 00:00:00 2001 From: Auxilor Date: Mon, 29 Nov 2021 11:11:13 +0000 Subject: [PATCH] Fixed EffectPotionEffect --- .../com/willfp/libreforge/effects/effects/EffectPotionEffect.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eco-api/src/main/kotlin/com/willfp/libreforge/effects/effects/EffectPotionEffect.kt b/eco-api/src/main/kotlin/com/willfp/libreforge/effects/effects/EffectPotionEffect.kt index 3a1871e86..1ee9b88c5 100644 --- a/eco-api/src/main/kotlin/com/willfp/libreforge/effects/effects/EffectPotionEffect.kt +++ b/eco-api/src/main/kotlin/com/willfp/libreforge/effects/effects/EffectPotionEffect.kt @@ -27,7 +27,7 @@ class EffectPotionEffect : Effect( PotionEffect( PotionEffectType.getByName(config.getString("effect").uppercase()) ?: PotionEffectType.INCREASE_DAMAGE, - 1_500_000_000, + config.getInt("duration"), config.getInt("level") - 1, false, true,