mirror of
https://github.com/unmojang/authlib-injector.git
synced 2025-10-01 23:32:15 -04:00
print version when bootstrap
This commit is contained in:
parent
e0cfced29e
commit
def37b0d0d
@ -40,6 +40,8 @@ public final class AuthlibInjector {
|
||||
return;
|
||||
}
|
||||
|
||||
info("version: " + getVersion());
|
||||
|
||||
Optional<YggdrasilConfiguration> optionalConfig = configure();
|
||||
if (optionalConfig.isPresent()) {
|
||||
transformerRegistry.accept(createTransformer(optionalConfig.get()));
|
||||
@ -113,4 +115,8 @@ public final class AuthlibInjector {
|
||||
return transformer;
|
||||
}
|
||||
|
||||
public static String getVersion() {
|
||||
return AuthlibInjector.class.getPackage().getImplementationVersion();
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user