Class DisplayNameContains

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

public final class DisplayNameContains extends MetaTypeComparator
A simple meta comparator to compare the display name
Version:
3.1
Author:
Andross
  • Constructor Details

    • DisplayNameContains

      public DisplayNameContains(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