polish authlib-injector

This commit is contained in:
yushijinhun 2019-02-08 17:08:23 +08:00
parent 62c38482f6
commit 507cade50d
No known key found for this signature in database
GPG Key ID: 5BC167F73EA558E4
2 changed files with 2 additions and 2 deletions

View File

@ -115,7 +115,7 @@ public class AuthlibInjectorAccount extends YggdrasilAccount {
return new Arguments().addJVMArguments(
"-javaagent:" + artifact.getLocation().toString() + "=" + server.getUrl(),
"-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

View File

@ -127,7 +127,7 @@ public class AuthlibInjectorDownloader implements AuthlibInjectorArtifactProvide
}
}
private class AuthlibInjectorVersionInfo {
private static class AuthlibInjectorVersionInfo {
@SerializedName("build_number")
public int buildNumber;