Package fr.andross.banitem.items.meta
Class DisplayNameEquals
java.lang.Object
fr.andross.banitem.items.meta.MetaTypeComparator
fr.andross.banitem.items.meta.DisplayNameEquals
A simple meta comparator to compare the display name
- Version:
- 3.1
- Author:
- Andross
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
matches
(org.bukkit.inventory.ItemStack itemStack, org.bukkit.inventory.meta.ItemMeta itemMeta) Methods inherited from class fr.andross.banitem.items.meta.MetaTypeComparator
getObject, isValid, setValid
-
Constructor Details
-
DisplayNameEquals
-
-
Method Details
-
matches
public boolean matches(@NotNull org.bukkit.inventory.ItemStack itemStack, @Nullable org.bukkit.inventory.meta.ItemMeta itemMeta) - Specified by:
matches
in classMetaTypeComparator
-