From b5902b739ebd5291898a2fbbacea4327f46433bf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Mr=C3=A1zek?= Date: Thu, 19 Nov 2015 22:20:40 +0100 Subject: [PATCH] GH-1338: mark asset index as stale during instance update This forces an update for assets changing on mojang servers --- logic/minecraft/OneSixUpdate.cpp | 1 + 1 file changed, 1 insertion(+) 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);