diff --git a/Core/src/main/java/su/nightexpress/excellentenchants/enchantment/impl/meta/PotionImplementation.java b/Core/src/main/java/su/nightexpress/excellentenchants/enchantment/impl/meta/PotionImplementation.java index d6ca37d..a15c83d 100644 --- a/Core/src/main/java/su/nightexpress/excellentenchants/enchantment/impl/meta/PotionImplementation.java +++ b/Core/src/main/java/su/nightexpress/excellentenchants/enchantment/impl/meta/PotionImplementation.java @@ -4,7 +4,6 @@ import org.bukkit.entity.LivingEntity; import org.bukkit.potion.PotionEffect; import org.bukkit.potion.PotionEffectType; import org.jetbrains.annotations.NotNull; -import su.nexmedia.engine.utils.Scaler; import su.nightexpress.excellentenchants.Placeholders; import su.nightexpress.excellentenchants.api.enchantment.meta.Potioned; import su.nightexpress.excellentenchants.config.Config; @@ -15,8 +14,8 @@ public final class PotionImplementation implements Potioned { private final ExcellentEnchant enchant; private final PotionEffectType effectType; - private final Scaler duration; - private final Scaler amplifier; + private final EnchantScaler duration; + private final EnchantScaler amplifier; private final boolean isPermanent; private PotionImplementation(@NotNull ExcellentEnchant enchant, diff --git a/Core/src/main/java/su/nightexpress/excellentenchants/enchantment/impl/tool/VeinminerEnchant.java b/Core/src/main/java/su/nightexpress/excellentenchants/enchantment/impl/tool/VeinminerEnchant.java index 7c2bb15..8a651ac 100644 --- a/Core/src/main/java/su/nightexpress/excellentenchants/enchantment/impl/tool/VeinminerEnchant.java +++ b/Core/src/main/java/su/nightexpress/excellentenchants/enchantment/impl/tool/VeinminerEnchant.java @@ -11,7 +11,6 @@ import org.bukkit.event.block.BlockBreakEvent; import org.bukkit.inventory.ItemStack; import org.jetbrains.annotations.NotNull; import su.nexmedia.engine.api.config.JOption; -import su.nexmedia.engine.utils.Scaler; import su.nightexpress.excellentenchants.ExcellentEnchants; import su.nightexpress.excellentenchants.Placeholders; import su.nightexpress.excellentenchants.api.enchantment.type.BlockBreakEnchant; @@ -37,7 +36,7 @@ public class VeinminerEnchant extends ExcellentEnchant implements BlockBreakEnch private static final String PLACEHOLDER_BLOCK_LIMIT = "%enchantment_block_limit%"; - private Scaler blocksLimit; + private EnchantScaler blocksLimit; private Set blocksAffected; public VeinminerEnchant(@NotNull ExcellentEnchants plugin) {