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.
This commit is contained in:
Travis Watkins 2013-12-09 14:12:34 -06:00
parent 772867eb51
commit f5f71a5502

View file

@ -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();