polish authlib-injector
This commit is contained in:
@@ -115,7 +115,7 @@ public class AuthlibInjectorAccount extends YggdrasilAccount {
|
|||||||
return new Arguments().addJVMArguments(
|
return new Arguments().addJVMArguments(
|
||||||
"-javaagent:" + artifact.getLocation().toString() + "=" + server.getUrl(),
|
"-javaagent:" + artifact.getLocation().toString() + "=" + server.getUrl(),
|
||||||
"-Dauthlibinjector.side=client",
|
"-Dauthlibinjector.side=client",
|
||||||
"-Dorg.to2mbn.authlibinjector.config.prefetched=" + Base64.getEncoder().encodeToString(prefetchedMeta.getBytes(UTF_8)));
|
"-Dauthlibinjector.yggdrasil.prefetched=" + Base64.getEncoder().encodeToString(prefetchedMeta.getBytes(UTF_8)));
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
@@ -127,7 +127,7 @@ public class AuthlibInjectorDownloader implements AuthlibInjectorArtifactProvide
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private class AuthlibInjectorVersionInfo {
|
private static class AuthlibInjectorVersionInfo {
|
||||||
@SerializedName("build_number")
|
@SerializedName("build_number")
|
||||||
public int buildNumber;
|
public int buildNumber;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user