@SuppressWarnings("deprecation")
	public boolean isBlacklistedItem(ItemStack item, String group) {
		List<String> blacklist = plugin.getBlacklistedItems(group);

		int dataValue = item.getTypeId();
		int damageValue = item.getData().getData();

		for (String blacklistedItem : blacklist) {

			Integer dataValueBlack = null;
			Integer damageValueBlack = null;

			if (blacklistedItem.contains(":")) {
				// For items such as wool. 35:1
				String[] temp = blacklistedItem.split(":");
				dataValueBlack = Integer.parseInt(temp[0]);
				damageValueBlack = Integer.parseInt(temp[1]);
			} else {
				dataValueBlack = Integer.parseInt(blacklistedItem);
			}

			if (dataValueBlack != null && damageValueBlack != null) {
				if (dataValue == dataValueBlack
						&& damageValue == damageValueBlack) {
					return true;
				}

			} else {
				if (dataValue == dataValueBlack) {
					return true;
				}
			}
		}
		return false;
	}