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:
parent
11afc61426
commit
b5902b739e
@ -97,6 +97,7 @@ void OneSixUpdate::assetIndexStart()
|
|||||||
|
|
||||||
auto metacache = ENV.metacache();
|
auto metacache = ENV.metacache();
|
||||||
auto entry = metacache->resolveEntry("asset_indexes", localPath);
|
auto entry = metacache->resolveEntry("asset_indexes", localPath);
|
||||||
|
entry->stale = true;
|
||||||
job->addNetAction(CacheDownload::make(indexUrl, entry));
|
job->addNetAction(CacheDownload::make(indexUrl, entry));
|
||||||
jarlibDownloadJob.reset(job);
|
jarlibDownloadJob.reset(job);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user