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