diff options
Diffstat (limited to 'logic')
-rw-r--r-- | logic/minecraft/OneSixInstance.cpp | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/logic/minecraft/OneSixInstance.cpp b/logic/minecraft/OneSixInstance.cpp index b2b8698f..74c28a8f 100644 --- a/logic/minecraft/OneSixInstance.cpp +++ b/logic/minecraft/OneSixInstance.cpp @@ -134,6 +134,21 @@ BaseProcess *OneSixInstance::prepareForLaunch(AuthSessionPtr session) if (!m_version) return nullptr; + for(auto & mod: loaderModList()->allMods()) + { + launchScript += "mod " + mod.filename().absoluteFilePath() + "\n";; + } + + for(auto & coremod: coreModList()->allMods()) + { + launchScript += "coremod " + coremod.filename().absoluteFilePath() + "\n";; + } + + for(auto & jarmod: m_version->jarMods) + { + launchScript += "jarmod " + jarmod->name + "\n";; + } + // libraries and class path. { auto libs = m_version->getActiveNormalLibs(); |