This commit is contained in:
BuildTools 2023-11-28 19:46:58 +05:00
parent ce3877bd07
commit de8dde5533
2 changed files with 3 additions and 5 deletions

View File

@ -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,

View File

@ -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<Material> blocksAffected;
public VeinminerEnchant(@NotNull ExcellentEnchants plugin) {