Merge pull request #1067 from Scrumplex/classpath-epicness
Move classpath definition into NewLaunch itself
This commit is contained in:
@ -570,6 +570,11 @@ QString MinecraftInstance::createLaunchScript(AuthSessionPtr session, MinecraftS
|
||||
if(!profile)
|
||||
return QString();
|
||||
|
||||
for (auto cp : getClassPath())
|
||||
{
|
||||
launchScript += "classPath " + cp + "\n";
|
||||
}
|
||||
|
||||
auto mainClass = getMainClass();
|
||||
if (!mainClass.isEmpty())
|
||||
{
|
||||
|
Reference in New Issue
Block a user