summaryrefslogtreecommitdiffstats
path: root/logic/minecraft/MinecraftProcess.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'logic/minecraft/MinecraftProcess.cpp')
-rw-r--r--logic/minecraft/MinecraftProcess.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/logic/minecraft/MinecraftProcess.cpp b/logic/minecraft/MinecraftProcess.cpp
index 0fc3f067..97eb8ee8 100644
--- a/logic/minecraft/MinecraftProcess.cpp
+++ b/logic/minecraft/MinecraftProcess.cpp
@@ -151,7 +151,7 @@ QStringList MinecraftProcess::javaArguments() const
args << "-Duser.language=en";
if (!m_nativeFolder.isEmpty())
args << QString("-Djava.library.path=%1").arg(m_nativeFolder);
- args << "-jar" << PathCombine(MMC->bin(), "jars", "NewLaunch.jar");
+ args << "-jar" << PathCombine(QCoreApplication::applicationDirPath(), "jars", "NewLaunch.jar");
return args;
}