diff options
author | EvilSeph <evilseph@gmail.com> | 2011-12-27 20:10:49 -0500 |
---|---|---|
committer | EvilSeph <evilseph@gmail.com> | 2011-12-27 20:10:49 -0500 |
commit | 8b735bf47a17091286771def2c72a57ca7f6eb50 (patch) | |
tree | 28e0d77334aaf57a16463d803f1eea592313de00 /src/main | |
parent | 8b21a0eeef1d6a5ae9baeb0f930b07c3f6bfd4c6 (diff) | |
download | craftbukkit-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.java | 6 |
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"); |