Fix InjectAuthlib

This commit is contained in:
Dāvis Mosāns
2021-12-10 02:32:04 +02:00
parent ee46b67d09
commit 92e1a0fa08
4 changed files with 11 additions and 7 deletions

View File

@@ -29,6 +29,7 @@
#include "minecraft/launch/ScanModFolders.h"
#include "minecraft/launch/InjectAuthlib.h"
#include "minecraft/launch/VerifyJavaInstall.h"
#include "minecraft/auth/AccountList.h"
#include "java/JavaUtils.h"
@@ -311,7 +312,9 @@ QStringList MinecraftInstance::javaArguments() const
{
QStringList args;
args.append(m_injector->javaArg);
if (m_injector) {
args.append(m_injector->javaArg);
}
// custom args go first. we want to override them if we have our own here.
args.append(extraArguments());