Does the item have a custom name @param is the item @return true if it has a name
(ItemStack is)
| 105 | * @return true if it has a name |
| 106 | */ |
| 107 | public static boolean hasName(ItemStack is) { |
| 108 | return hasMeta(is) && is.getItemMeta().hasDisplayName(); |
| 109 | } |
| 110 | |
| 111 | /** |
| 112 | * Does the item have any lore? |
nothing calls this directly
no test coverage detected