@SuppressWarnings("unchecked")
	public HashMap<Integer, Integer> loadDurabilityFromFile() {
		if (!durabilityFile.exists() || plugin.getListener() == null || plugin.getListener().getShieldDurability() == null) {
			return null;
		}

		new File(directory).mkdir();

		HashMap<Integer, Integer> map = null;
		Object result = null;

		try {
			ObjectInputStream ois = new ObjectInputStream(new FileInputStream(durabilityFile));
			result = ois.readObject();
			map = (HashMap<Integer, Integer>) result;
			ois.close();
		} catch (IOException ioe) {
			log.severe("Failed reading shields durability for " + FactionShield.getPluginName());
			ioe.printStackTrace();
		} catch (ClassNotFoundException cnfe) {
			log.severe("Shields durability file contains an unknown class, was it modified?");
			cnfe.printStackTrace();
		}

		return map;
	}