summaryrefslogtreecommitdiffstats
path: root/logic/OneSixUpdate.cpp
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2013-10-20 23:18:40 +0200
committerPetr Mrázek <peterix@gmail.com>2013-10-20 23:18:40 +0200
commit32ce5c5c0247c55a7db2974f0c8e07e456dd5f7d (patch)
tree8b834a0845bb8fac38572771a02ab2c2114da48a /logic/OneSixUpdate.cpp
parentaca7764afc82f39bef32f41c5c53eb70e8f54ba8 (diff)
downloadMultiMC-32ce5c5c0247c55a7db2974f0c8e07e456dd5f7d.tar
MultiMC-32ce5c5c0247c55a7db2974f0c8e07e456dd5f7d.tar.gz
MultiMC-32ce5c5c0247c55a7db2974f0c8e07e456dd5f7d.tar.lz
MultiMC-32ce5c5c0247c55a7db2974f0c8e07e456dd5f7d.tar.xz
MultiMC-32ce5c5c0247c55a7db2974f0c8e07e456dd5f7d.zip
Local libs that won't get replaced/redownloaded
Diffstat (limited to 'logic/OneSixUpdate.cpp')
-rw-r--r--logic/OneSixUpdate.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/logic/OneSixUpdate.cpp b/logic/OneSixUpdate.cpp
index 008995ae..b5f1d78b 100644
--- a/logic/OneSixUpdate.cpp
+++ b/logic/OneSixUpdate.cpp
@@ -164,6 +164,8 @@ void OneSixUpdate::jarlibStart()
auto metacache = MMC->metacache();
for (auto lib : libs)
{
+ if (lib->hint() == "local")
+ continue;
QString download_path = lib->downloadUrl();
auto entry = metacache->resolveEntry("libraries", lib->storagePath());
if (entry->stale)