hasConflictingStoredEnchant

public abstract boolean hasConflictingStoredEnchant(Enchantment ench)

Checks if the specified enchantment conflicts with any enchantments in this ItemMeta.

Return

true if the enchantment conflicts, false otherwise

Parameters

ench

enchantment to test