enchantments = itemStack.getEnchantments();
if(itemStack.getItemMeta() instanceof BookMeta) {
BookMeta meta = (BookMeta) itemStack.getItemMeta();
// Make sure we don't use this on an empty book!
if(meta.getPages() != null) {
book = new MIBook(meta.getAuthor(), meta.getTitle(), meta.getPages());
}
} else if(itemStack.hasItemMeta()) {
nbttags = getItemMetaSerialized(itemStack.getItemMeta());
}
is = itemStack.clone();