mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-03 21:44:40 +01:00
Startup time now reported in seconds, nanoseconds, Really? O.o
This commit is contained in:
parent
61339bcb2a
commit
78af4f97f9
1 changed files with 7 additions and 1 deletions
|
@ -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 a new issue