summaryrefslogtreecommitdiffstats
path: root/logic/minecraft
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2015-11-19 22:20:40 +0100
committerPetr Mrázek <peterix@gmail.com>2015-11-19 22:20:40 +0100
commitb5902b739ebd5291898a2fbbacea4327f46433bf (patch)
tree6b6b4b2e841ab53f2ca84c45eac310ab288ecf1a /logic/minecraft
parent11afc61426ff648260b54b1982bec2cb3011c3c7 (diff)
downloadMultiMC-b5902b739ebd5291898a2fbbacea4327f46433bf.tar
MultiMC-b5902b739ebd5291898a2fbbacea4327f46433bf.tar.gz
MultiMC-b5902b739ebd5291898a2fbbacea4327f46433bf.tar.lz
MultiMC-b5902b739ebd5291898a2fbbacea4327f46433bf.tar.xz
MultiMC-b5902b739ebd5291898a2fbbacea4327f46433bf.zip
GH-1338: mark asset index as stale during instance update
This forces an update for assets changing on mojang servers
Diffstat (limited to 'logic/minecraft')
-rw-r--r--logic/minecraft/OneSixUpdate.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/logic/minecraft/OneSixUpdate.cpp b/logic/minecraft/OneSixUpdate.cpp
index 73d48461..9159f038 100644
--- a/logic/minecraft/OneSixUpdate.cpp
+++ b/logic/minecraft/OneSixUpdate.cpp
@@ -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);