mirror of
https://github.com/PaperMC/Paper.git
synced 2025-03-19 13:38:44 +01:00
Print message on startup before loading log4j
Log4j takes a long time to load on startup. Before it loads, the server appears to have frozen as there is no output until after. We now print a loading message before this happens to let the user know the server is actually working. By: Travis Watkins <amaranth@ubuntu.com>
This commit is contained in:
parent
672d7e3316
commit
e06ae795b0
1 changed files with 1 additions and 0 deletions
|
@ -149,6 +149,7 @@ public class Main {
|
||||||
useConsole = false;
|
useConsole = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
System.out.println("Loading libraries, please wait...");
|
||||||
MinecraftServer.main(options);
|
MinecraftServer.main(options);
|
||||||
} catch (Throwable t) {
|
} catch (Throwable t) {
|
||||||
t.printStackTrace();
|
t.printStackTrace();
|
||||||
|
|
Loading…
Add table
Reference in a new issue