public void checkLibraries() {
		// Check if all libraries that are required are loaded.

		for (Restriction r : this.restrictions) {
			for (actionType type : actionType.values()) {
				for (Requirement req : r.getRequirements(type)) {
					if (req == null)
						continue;

					List<Library> libs = req.getRequiredLibraries();
					
					if (libs == null || libs.isEmpty()) continue;
					
					for (Library lib : libs) {

						if (lib == null)
							continue;

						if (!plugin.getPluginLibraryHook().isLoaded(lib)) {
							plugin.logMessage(ChatColor.RED + "For requirement '" + ChatColor.GOLD + req.getClass().getSimpleName() + ChatColor.RED +  "', Armor Control needs '"
									+ lib.getPluginName() + "' but it is not loaded on the server!");
						}
					}
				}
			}
		}
	}