diff options
author | Petr Mrázek <peterix@gmail.com> | 2015-04-12 22:50:52 +0200 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2015-04-13 00:53:59 +0200 |
commit | 4d8f068f9cc576c7d1fb19551cb2429282a7c449 (patch) | |
tree | a5f064cbee770aa04f563c19a9dde37c8416d9a6 /logic/minecraft/OneSixUpdate.cpp | |
parent | 1f9dd45e498b812a4884ce8221f9ee8250f475df (diff) | |
download | MultiMC-4d8f068f9cc576c7d1fb19551cb2429282a7c449.tar MultiMC-4d8f068f9cc576c7d1fb19551cb2429282a7c449.tar.gz MultiMC-4d8f068f9cc576c7d1fb19551cb2429282a7c449.tar.lz MultiMC-4d8f068f9cc576c7d1fb19551cb2429282a7c449.tar.xz MultiMC-4d8f068f9cc576c7d1fb19551cb2429282a7c449.zip |
NOISSUE refactor and rearrange zip file utils
Diffstat (limited to 'logic/minecraft/OneSixUpdate.cpp')
-rw-r--r-- | logic/minecraft/OneSixUpdate.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/logic/minecraft/OneSixUpdate.cpp b/logic/minecraft/OneSixUpdate.cpp index 6cea2341..8a7a1f66 100644 --- a/logic/minecraft/OneSixUpdate.cpp +++ b/logic/minecraft/OneSixUpdate.cpp @@ -33,7 +33,7 @@ #include "forge/ForgeMirrors.h" #include "net/URLConstants.h" #include "minecraft/AssetsUtils.h" -#include "minecraft/JarUtils.h" +#include "MMCZip.h" OneSixUpdate::OneSixUpdate(OneSixInstance *inst, QObject *parent) : Task(parent), m_inst(inst) { @@ -320,7 +320,7 @@ void OneSixUpdate::jarlibFinished() auto metacache = ENV.metacache(); auto entry = metacache->resolveEntry("versions", localPath); QString fullJarPath = entry->getFullPath(); - if(!JarUtils::createModdedJar(sourceJarPath, finalJarPath, jarMods)) + if(!MMCZip::createModdedJar(sourceJarPath, finalJarPath, jarMods)) { emitFailed(tr("Failed to create the custom Minecraft jar file.")); return; |