Get a copy of this ItemStack's ItemMeta. @return a copy of the current ItemStack's ItemData
()
| 545 | * @return a copy of the current ItemStack's ItemData |
| 546 | */ |
| 547 | @Nullable |
| 548 | public ItemMeta getItemMeta() { |
| 549 | return this.meta == null ? Bukkit.getItemFactory().getItemMeta(this.type) : this.meta.clone(); |
| 550 | } |
| 551 | |
| 552 | /** |
| 553 | * Checks to see if any meta data has been defined. |
no test coverage detected