1
0
mirror of https://github.com/SKCraft/Launcher.git synced 2024-11-30 13:13:58 +01:00

Don't set updatePending = false if manifest URL is not available.

This commit is contained in:
sk89q 2014-01-15 02:07:05 -08:00
parent fe30412b30
commit f6fb3139a2

View File

@ -82,9 +82,6 @@ public class Updater extends BaseUpdater implements Callable<Instance>, Progress
String message = _("updater.updateRequiredButNoManifest"); String message = _("updater.updateRequiredButNoManifest");
throw new LauncherException("Update required but no manifest", message); throw new LauncherException("Update required but no manifest", message);
} else { } else {
instance.setUpdatePending(false);
Persistence.commitAndForget(instance);
log.info("Can't update " + instance.getTitle() + ", but update is not required"); log.info("Can't update " + instance.getTitle() + ", but update is not required");
return instance; // Can't update return instance; // Can't update
} }