@SuppressWarnings("deprecation")
	public void editBook(Player player, ItemStack item) {
		// PUT THIS INTO EVERY METHOD
		PluginDescriptionFile pdfFile = plugin.getDescription();
		String cmdFormat = "[" + pdfFile.getName() + "] ";
		// --------------------------

		// This function will check if the player
		// holds a book, and then it will check
		// if it is a valid cmdBook

		// Get the item the player has in his hand
		ItemStack is = item;

		// Check if the player is holding a book
		if (is.getTypeId() == 387) {
			BookMeta book = (BookMeta) is.getItemMeta();
			// Player is holding a book
			// Now check if it is a cmdBook
			Object pageContent[] = getBookContent(player, item);

			// Now read author
			String authorPlugin = (ChatColor.RED + "cmdBook").toString(); // The
																			// cmdBook
			// author
			try {
				if (pageContent[0].toString().toLowerCase()
						.startsWith("[cmdbook]")
						& (book.getAuthor().equalsIgnoreCase(authorPlugin) || player
								.hasPermission("cmdbook.public.all"))) {
					// It is a cmdBook
					// Now check if the player has permission
					// to execute that
					if (player.hasPermission("cmdbook.edit")) {
						// Player has permisions
						// Unsign the book
						if (Configuration.config.getBoolean("economy.enabled") == false
								|| plugin.economyFound == false
								|| plugin.economyFound == false) {
							// No economy enabled
						} else {
							if (plugin.econ.getBalance(player.getName()) >= Configuration.config
									.getInt("economy.edit_price")) {
								plugin.econ.withdrawPlayer(player.getName(),
										Configuration.config
												.getInt("economy.edit_price"));
								// Send message to player
								player.sendMessage(chatColor.stringtodata(confirm_money
										.replaceAll(
												"\\{MONEY\\}",
												Configuration.config
														.getString("economy.edit_price"))));
							} else {
								// No money
								player.sendMessage(chatColor.stringtodata(error_money
										.replaceAll(
												"\\{MONEY\\}",
												Configuration.config
														.getString("economy.edit_price"))));
								return;
							}
						}
						is = player.getItemInHand();
						book = (BookMeta) is.getItemMeta();
						is.setType(Material.BOOK_AND_QUILL);
						book.setAuthor("");
						book.setTitle("");
						book.setDisplayName("");
						is.setItemMeta(book);
						// Book unsigned
						this.logger.info(cmdFormat + player.getName()
								+ " unsigned a cmdBook!");
						player.sendMessage(chatColor
								.stringtodata(confirm_unsigned));
					} else {
						// No permission
						player.sendMessage(chatColor
								.stringtodata(error_permission));
					}
				}
			} catch (Exception ex) {
				// The player in not holding a book
				player.sendMessage(chatColor.stringtodata(error_nobook));
				return;
			}
		} else {
			// The player in not holding a book
			player.sendMessage(chatColor.stringtodata(error_nobook));
			return;
		}
	}