-
New Feature
-
Resolution: Won't Fix
-
Minor
-
None
-
None
-
NB
Hi
While use the HideFlags API I feel their needs to be a method which Enchants and Lore have. Currently there is no single method to check if there are "any" ItemFlags, the only why to check is to use getItemFlags which will return an empty set if there is no ItemFlags. Sure you will agree this is not they efficient but currently its the only way to check without specifying a exact flag to check for. Something similar to the snippet below would be ideal. Thanks for your consideration.
hasItemFlags
/* * Checks for the existence of any ItemFlags. * * @return true if an ItemFlag exists on this meta */ boolean hasItemFlags()