mirror of
https://github.com/MultiMC/MultiMC5.git
synced 2024-12-27 21:15:19 +00:00
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 entry = metacache->resolveEntry("asset_indexes", localPath);
|
||||
entry->stale = true;
|
||||
job->addNetAction(CacheDownload::make(indexUrl, entry));
|
||||
jarlibDownloadJob.reset(job);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user