Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-11-17 05:20:05 +01:00
Startup time now reported in seconds, nanoseconds, Really? O.o
Dieser Commit ist enthalten in:
Ursprung
61339bcb2a
Commit
78af4f97f9
@ -129,7 +129,13 @@ public class MinecraftServer implements Runnable, ICommandListener {
|
|||||||
|
|
||||||
a.info("Preparing level \"" + s1 + "\"");
|
a.info("Preparing level \"" + s1 + "\"");
|
||||||
this.a((Convertable) (new WorldLoaderServer(new File("."))), 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;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren