From 8b735bf47a17091286771def2c72a57ca7f6eb50 Mon Sep 17 00:00:00 2001 From: EvilSeph Date: Tue, 27 Dec 2011 20:10:49 -0500 Subject: [PATCH] Made startup completion time actually be reported in seconds. Again. --- src/main/java/net/minecraft/server/MinecraftServer.java | 6 +++--- 1 file 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 7b9566d571..1cafc0d52f 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");