refactor: move classpath definition into NewLaunch itself
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
This commit is contained in:
@ -562,6 +562,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