mirror of
https://github.com/ViaVersion/ViaProxy.git
synced 2024-11-25 12:25:41 +01:00
Printing java version and os on startup
This commit is contained in:
parent
5dfe2f5a74
commit
1c5d6b22d2
@ -95,6 +95,7 @@ public class ViaProxy {
|
|||||||
final boolean hasUI = args.length == 0 && !GraphicsEnvironment.isHeadless();
|
final boolean hasUI = args.length == 0 && !GraphicsEnvironment.isHeadless();
|
||||||
ConsoleHandler.hookConsole();
|
ConsoleHandler.hookConsole();
|
||||||
Logger.LOGGER.info("Initializing ViaProxy {} v{} (Injected using {})...", hasUI ? "GUI" : "CLI", VERSION, injectionMethod);
|
Logger.LOGGER.info("Initializing ViaProxy {} v{} (Injected using {})...", hasUI ? "GUI" : "CLI", VERSION, injectionMethod);
|
||||||
|
Logger.LOGGER.info("Using java version: " + System.getProperty("java.vm.name") + " " + System.getProperty("java.version") + " (" + System.getProperty("java.vendor") + ") on " + System.getProperty("os.name"));
|
||||||
loadNetty();
|
loadNetty();
|
||||||
saveManager = new SaveManager();
|
saveManager = new SaveManager();
|
||||||
PluginManager.loadPlugins();
|
PluginManager.loadPlugins();
|
||||||
|
Loading…
Reference in New Issue
Block a user