public void checkArmor(Player player) {
		// Checks if player is wearing restricted items
		PlayerInventory inv = player.getInventory();

		// We do not have to check on this world.
		if (plugin.getAPI().isDisabledWorld(player.getLocation().getWorld().getName())) {
			return;
		}

		// Ignore creative?
		if (plugin.getConfigHandler().shouldIgnoreCreative()) {
			if (player.getGameMode().equals(GameMode.CREATIVE))
				return;
		}

		@SuppressWarnings("unused")
		int itemID = 0, dataValue = 0;
		ItemStack item;

		actionType type = actionType.WEAR;

		// Slot 36 to 39 are armor slots.
		for (int i = 36; i < 40; i++) {
			item = inv.getItem(i);

			if (item == null)
				continue;

			// itemID = item.getTypeId();
			// dataValue = item.getDurability();

			if (dataValue == 0) {
				dataValue = -1;
			}

			Restriction r = this.getRestriction(item);

			// No restriction for this item found.
			if (r == null)
				continue;

			List<Requirement> failed = r.getFailedRequirements(player, type);

			// Cannot wear this item
			if (!failed.isEmpty()) {
				// Remove it from slot and give it back.
				player.getInventory().setItem(i, null);

				this.giveItem(player, item);

				plugin.getMessageHandler().sendMessage(player,
						plugin.getConfigHandler().getMessage(message.NOT_ALLOWED_TO_WEAR_ARMOR));

				// Show what the player still has to do to wear this armor.
				for (Requirement failedReq : failed) {
					player.sendMessage(ChatColor.RED + "- " + failedReq.getDescription());
				}
			}
		}
	}