diff options
author | Petr Mrázek <peterix@gmail.com> | 2017-01-10 23:03:00 +0100 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2017-01-10 23:03:00 +0100 |
commit | 858b490c74d4b560923b1b3896735d0a42c78991 (patch) | |
tree | a423f01a3e38cf75a26cab99da23228086cd9281 /api/logic/minecraft/MinecraftInstance.cpp | |
parent | 12c3683ec07788bf4be03221b0232b4eae27caba (diff) | |
download | MultiMC-858b490c74d4b560923b1b3896735d0a42c78991.tar MultiMC-858b490c74d4b560923b1b3896735d0a42c78991.tar.gz MultiMC-858b490c74d4b560923b1b3896735d0a42c78991.tar.lz MultiMC-858b490c74d4b560923b1b3896735d0a42c78991.tar.xz MultiMC-858b490c74d4b560923b1b3896735d0a42c78991.zip |
GH-1778: Fix placement of modded Minecraft.jar in OneSix instances.
Diffstat (limited to 'api/logic/minecraft/MinecraftInstance.cpp')
-rw-r--r-- | api/logic/minecraft/MinecraftInstance.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/api/logic/minecraft/MinecraftInstance.cpp b/api/logic/minecraft/MinecraftInstance.cpp index bcbabb1f..7b1aef1e 100644 --- a/api/logic/minecraft/MinecraftInstance.cpp +++ b/api/logic/minecraft/MinecraftInstance.cpp @@ -97,6 +97,11 @@ QString MinecraftInstance::minecraftRoot() const return mcDir.filePath(); } +QString MinecraftInstance::binRoot() const +{ + return FS::PathCombine(minecraftRoot(), "bin"); +} + std::shared_ptr< BaseVersionList > MinecraftInstance::versionList() const { return ENV.getVersionList("net.minecraft"); |