summaryrefslogtreecommitdiffstats
path: root/logic/OneSixUpdate.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'logic/OneSixUpdate.cpp')
-rw-r--r--logic/OneSixUpdate.cpp12
1 files changed, 7 insertions, 5 deletions
diff --git a/logic/OneSixUpdate.cpp b/logic/OneSixUpdate.cpp
index beb293ff..f77913dc 100644
--- a/logic/OneSixUpdate.cpp
+++ b/logic/OneSixUpdate.cpp
@@ -62,12 +62,14 @@ void OneSixUpdate::executeTask()
emitFailed(tr("The specified Minecraft version is invalid. Choose a different one."));
return;
}
- versionFileStart();
- }
- else
- {
- jarlibStart();
+ // builtins need no updates, so only update for Mojang
+ if(targetVersion->m_versionSource == MinecraftVersion::Mojang)
+ {
+ versionFileStart();
+ return;
+ }
}
+ jarlibStart();
}
void OneSixUpdate::versionFileStart()