add custom auth server args
This commit is contained in:
parent
a16b8a3643
commit
80e3c1cc6a
@ -350,6 +350,10 @@ class ProcessBuilder {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Construct the argument array that will be passed to the JVM process.
|
||||
* This function is for 1.12 and below.
|
||||
@ -359,9 +363,7 @@ class ProcessBuilder {
|
||||
* @returns {Array.<string>} An array containing the full JVM arguments for this process.
|
||||
*/
|
||||
_constructJVMArguments112(mods, tempNativePath){
|
||||
|
||||
let args = []
|
||||
|
||||
// Classpath Argument
|
||||
args.push('-cp')
|
||||
args.push(this.classpathArg(mods, tempNativePath).join(ProcessBuilder.getClasspathSeparator()))
|
||||
@ -404,6 +406,10 @@ class ProcessBuilder {
|
||||
|
||||
// Debug securejarhandler
|
||||
// args.push('-Dbsl.debug=true')
|
||||
args.push('-Dminecraft.api.auth.host=http://localhost:8083/yggdrasil/auth')
|
||||
args.push('-Dminecraft.api.account.host=http://localhost:8083/yggdrasil/account')
|
||||
args.push('-Dminecraft.api.session.host=http://localhost:8083/yggdrasil')
|
||||
args.push('-Dminecraft.api.services.host=http://localhost:8083/yggdrasil/services')
|
||||
|
||||
if(this.modManifest.arguments.jvm != null) {
|
||||
for(const argStr of this.modManifest.arguments.jvm) {
|
||||
|
Loading…
Reference in New Issue
Block a user