Class EnchantmentContains

java.lang.Object
fr.andross.banitem.items.meta.MetaTypeComparator
fr.andross.banitem.items.meta.EnchantmentContains

public final class EnchantmentContains extends MetaTypeComparator
A simple meta comparator to compare the enchantments
Version:
3.1.1
Author:
Andross
  • Constructor Details

    • EnchantmentContains

      public EnchantmentContains(Object o, Debug debug)
  • Method Details

    • matches

      public boolean matches(@NotNull org.bukkit.inventory.ItemStack itemStack, @Nullable org.bukkit.inventory.meta.ItemMeta itemMeta)
      Specified by:
      matches in class MetaTypeComparator