3
0
Mirror von https://github.com/PaperMC/Paper.git synchronisiert 2024-11-16 21:10:17 +01:00

Startup time now reported in seconds, nanoseconds, Really? O.o

Dieser Commit ist enthalten in:
Erik Broes 2011-02-25 21:57:38 +01:00
Ursprung 61339bcb2a
Commit 78af4f97f9

Datei anzeigen

@ -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;
}