summaryrefslogtreecommitdiffstats
path: root/logic/ftb
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2016-02-25 00:29:35 +0100
committerPetr Mrázek <peterix@gmail.com>2016-02-25 00:29:50 +0100
commitf6b2ccb110f0bb4071044456a93c6edc1de50922 (patch)
treec33f62d0e4d99d7d2284160f88865b94a1ee712b /logic/ftb
parentc943019ab528e8ed725c77f065d0d38fa101fce2 (diff)
downloadMultiMC-f6b2ccb110f0bb4071044456a93c6edc1de50922.tar
MultiMC-f6b2ccb110f0bb4071044456a93c6edc1de50922.tar.gz
MultiMC-f6b2ccb110f0bb4071044456a93c6edc1de50922.tar.lz
MultiMC-f6b2ccb110f0bb4071044456a93c6edc1de50922.tar.xz
MultiMC-f6b2ccb110f0bb4071044456a93c6edc1de50922.zip
NOISSUE remove old unused version file features
Diffstat (limited to 'logic/ftb')
-rw-r--r--logic/ftb/FTBProfileStrategy.cpp1
-rw-r--r--logic/ftb/OneSixFTBInstance.cpp4
2 files changed, 2 insertions, 3 deletions
diff --git a/logic/ftb/FTBProfileStrategy.cpp b/logic/ftb/FTBProfileStrategy.cpp
index 0876c707..53b43eec 100644
--- a/logic/ftb/FTBProfileStrategy.cpp
+++ b/logic/ftb/FTBProfileStrategy.cpp
@@ -60,7 +60,6 @@ void FTBProfileStrategy::loadDefaultBuiltinPatches()
for(auto addLib: file->addLibs)
{
addLib->m_hint = "local";
- addLib->insertType = RawLibrary::Prepend;
addLib->setStoragePrefix(nativeInstance->librariesPath().absolutePath());
}
file->fileId = "org.multimc.ftb.pack";
diff --git a/logic/ftb/OneSixFTBInstance.cpp b/logic/ftb/OneSixFTBInstance.cpp
index 8d61997b..ebe421e0 100644
--- a/logic/ftb/OneSixFTBInstance.cpp
+++ b/logic/ftb/OneSixFTBInstance.cpp
@@ -87,9 +87,9 @@ void OneSixFTBInstance::copy(const QDir &newDir)
{
qCritical() << "Couldn't create folder structure for" << out;
}
- if (!QFile::copy(librariesPath().absoluteFilePath(lib->storageSuffix()), out))
+ if (!QFile::copy(librariesPath().absoluteFilePath(lib.storageSuffix()), out))
{
- qCritical() << "Couldn't copy" << lib->rawName();
+ qCritical() << "Couldn't copy" << lib.rawName();
}
}
}