Class DisplayNameEquals

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

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

    • DisplayNameEquals

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