summaryrefslogtreecommitdiffstats
path: root/logic/LegacyInstance.cpp
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2014-04-19 21:24:11 +0200
committerPetr Mrázek <peterix@gmail.com>2014-04-19 21:24:11 +0200
commit565dab24b54b154df046644e00caa58a663a6ba4 (patch)
treee5a07115b615042e495adf78da4b51cedd494f43 /logic/LegacyInstance.cpp
parentbf1632e4ed09f3fdc140b25a67b82f2bedb66f76 (diff)
downloadMultiMC-565dab24b54b154df046644e00caa58a663a6ba4.tar
MultiMC-565dab24b54b154df046644e00caa58a663a6ba4.tar.gz
MultiMC-565dab24b54b154df046644e00caa58a663a6ba4.tar.lz
MultiMC-565dab24b54b154df046644e00caa58a663a6ba4.tar.xz
MultiMC-565dab24b54b154df046644e00caa58a663a6ba4.zip
Download and cache FML libs for legacy minecraft versions.
* minor fix for version filtering (1.5 no longer shows forge for 1.5.1 and 1.5.2) * FML libs are downloaded to mods/minecraftforge/libs and cached * FML libs are copied to instances which contain FML or forge
Diffstat (limited to 'logic/LegacyInstance.cpp')
-rw-r--r--logic/LegacyInstance.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/logic/LegacyInstance.cpp b/logic/LegacyInstance.cpp
index 4f2dfd9b..d06b8827 100644
--- a/logic/LegacyInstance.cpp
+++ b/logic/LegacyInstance.cpp
@@ -159,6 +159,11 @@ QString LegacyInstance::binDir() const
return PathCombine(minecraftRoot(), "bin");
}
+QString LegacyInstance::libDir() const
+{
+ return PathCombine(minecraftRoot(), "lib");
+}
+
QString LegacyInstance::savesDir() const
{
return PathCombine(minecraftRoot(), "saves");