public Double getLoyalty(String playerName) {
		if (loyaltyCache.containsKey(playerName))
			return loyaltyCache.get(playerName);

		Double loyalty = Config.leadershipSkillDefault;
		String SQL = "SELECT `loyalty` FROM " + tblSkills + " WHERE `player` = ? AND `leadership` IS NOT NULL";

		Connection con = getSQLConnection();

		try {

			PreparedStatement statement = con.prepareStatement(SQL);
			statement.setString(1, playerName);

			ResultSet result = statement.executeQuery();

			while (result.next()) {
				loyalty = result.getDouble(1);
			}

			statement.close();
			con.close();
		} catch (SQLException e) {
			e.printStackTrace();
		}

		loyaltyCache.put(playerName, loyalty);
		return loyalty;
	}