mirror of
https://github.com/nulli0n/ExcellentEnchants-spigot.git
synced 2024-11-22 11:35:18 +01:00
v3.6.4
This commit is contained in:
parent
ce3877bd07
commit
de8dde5533
@ -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,
|
||||
|
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user