From 0e54ce1fed5c7d81aa2f957910296a9badac6e35 Mon Sep 17 00:00:00 2001 From: NorbiPeti Date: Sat, 24 Sep 2016 18:28:08 +0200 Subject: [PATCH] Formatted debug message --- src/main/java/buttondevteam/chat/ChatProcessing.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/main/java/buttondevteam/chat/ChatProcessing.java b/src/main/java/buttondevteam/chat/ChatProcessing.java index c4a002c..385fa60 100644 --- a/src/main/java/buttondevteam/chat/ChatProcessing.java +++ b/src/main/java/buttondevteam/chat/ChatProcessing.java @@ -402,8 +402,9 @@ public class ChatProcessing { .sendMessage(String.format("[%s] <%s%s> %s", currentchannel.DisplayName, (player != null ? player.getDisplayName() : sender.getName()), (mp != null ? mp.GetFormattedFlair() : ""), message)); - DebugCommand.SendDebugMessage("-- Full ChatProcessing time: " + (System.nanoTime() - processstart)); - DebugCommand.SendDebugMessage("-- ChatFormatter.Combine time: " + combinetime); + DebugCommand.SendDebugMessage( + "-- Full ChatProcessing time: " + (System.nanoTime() - processstart) / 1000000f + " ms"); + DebugCommand.SendDebugMessage("-- ChatFormatter.Combine time: " + combinetime / 1000000f + " ms"); return true; } }