mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-03 13:36:44 +01:00
Made startup completion time actually be reported in seconds. Again.
This commit is contained in:
parent
8b21a0eeef
commit
8b735bf47a
1 changed files with 3 additions and 3 deletions
|
@ -164,11 +164,11 @@ public class MinecraftServer implements Runnable, ICommandListener, IMinecraftSe
|
|||
log.info("Preparing level \"" + s + "\"");
|
||||
this.a(new WorldLoaderServer(new File(".")), s, j);
|
||||
|
||||
// CraftBukkit start
|
||||
// CraftBukkit start - display seconds for the completion time
|
||||
long elapsed = System.nanoTime() - i;
|
||||
String time = String.format("%.3fs", elapsed / 10000000000.0D);
|
||||
String time = String.format("%.3fs", elapsed / 1000000000.0D);
|
||||
log.info("Done (" + time + ")! For help, type \"help\" or \"?\"");
|
||||
// CratBukkit end
|
||||
// CraftBukkit end
|
||||
|
||||
if (this.propertyManager.getBoolean("enable-query", false)) {
|
||||
log.info("Starting GS4 status listener");
|
||||
|
|
Loading…
Reference in a new issue