GH-1338: mark asset index as stale during instance update

This forces an update for assets changing on mojang servers
This commit is contained in:
Petr Mrázek 2015-11-19 22:20:40 +01:00
parent 11afc61426
commit b5902b739e

View File

@ -97,6 +97,7 @@ void OneSixUpdate::assetIndexStart()
auto metacache = ENV.metacache();
auto entry = metacache->resolveEntry("asset_indexes", localPath);
entry->stale = true;
job->addNetAction(CacheDownload::make(indexUrl, entry));
jarlibDownloadJob.reset(job);