mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-23 19:15:32 +01:00
Startup time now reported in seconds, nanoseconds, Really? O.o
This commit is contained in:
parent
61339bcb2a
commit
78af4f97f9
@ -129,7 +129,13 @@ public class MinecraftServer implements Runnable, ICommandListener {
|
||||
|
||||
a.info("Preparing level \"" + s1 + "\"");
|
||||
this.a((Convertable) (new WorldLoaderServer(new File("."))), s1);
|
||||
a.info("Done (" + (System.nanoTime() - j) + "ns)! For help, type \"help\" or \"?\"");
|
||||
|
||||
// CraftBukkit start
|
||||
long elapsed = System.nanoTime() - j;
|
||||
String time = String.format( "%.3fs", elapsed / 10000000000.0D );
|
||||
a.info("Done (" + time + ")! For help, type \"help\" or \"?\"");
|
||||
// CraftBukkit end
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user