summaryrefslogtreecommitdiffstats
path: root/src/main
diff options
context:
space:
mode:
authorEvilSeph <evilseph@gmail.com>2011-12-27 20:10:49 -0500
committerEvilSeph <evilseph@gmail.com>2011-12-27 20:10:49 -0500
commit8b735bf47a17091286771def2c72a57ca7f6eb50 (patch)
tree28e0d77334aaf57a16463d803f1eea592313de00 /src/main
parent8b21a0eeef1d6a5ae9baeb0f930b07c3f6bfd4c6 (diff)
downloadcraftbukkit-8b735bf47a17091286771def2c72a57ca7f6eb50.tar
craftbukkit-8b735bf47a17091286771def2c72a57ca7f6eb50.tar.gz
craftbukkit-8b735bf47a17091286771def2c72a57ca7f6eb50.tar.lz
craftbukkit-8b735bf47a17091286771def2c72a57ca7f6eb50.tar.xz
craftbukkit-8b735bf47a17091286771def2c72a57ca7f6eb50.zip
Made startup completion time actually be reported in seconds. Again.
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/net/minecraft/server/MinecraftServer.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main/java/net/minecraft/server/MinecraftServer.java b/src/main/java/net/minecraft/server/MinecraftServer.java
index 7b9566d5..1cafc0d5 100644
--- a/src/main/java/net/minecraft/server/MinecraftServer.java
+++ b/src/main/java/net/minecraft/server/MinecraftServer.java
@@ -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");