gameDownloadWorker.cancel(false);
} else if ((gameVersion == null) || gameVersion.isInstalled() || (gameVersion.getSuccessful() == null) || !gameVersion.getSuccessful()) {
logger.warn("The selected game version can not be downloaded! '{}'", gameVersion);
} else {
try {
GameDownloader gameDownloader = new GameDownloader(downloadDirectory, tempDirectory, launcherSettings.isSaveDownloadedFiles(),
launcherSettings.getGameDirectory(), gameVersion, gameVersions);
gameDownloadWorker = new GameDownloadWorker(this, gameDownloader);
} catch (IOException e) {
logger.error("Could not start game download!", e);
finishedGameDownload(false, false, false, null);