Formatted debug message
This commit is contained in:
parent
9edc49a4a0
commit
0e54ce1fed
1 changed files with 3 additions and 2 deletions
|
@ -402,8 +402,9 @@ public class ChatProcessing {
|
||||||
.sendMessage(String.format("[%s] <%s%s> %s", currentchannel.DisplayName,
|
.sendMessage(String.format("[%s] <%s%s> %s", currentchannel.DisplayName,
|
||||||
(player != null ? player.getDisplayName() : sender.getName()),
|
(player != null ? player.getDisplayName() : sender.getName()),
|
||||||
(mp != null ? mp.GetFormattedFlair() : ""), message));
|
(mp != null ? mp.GetFormattedFlair() : ""), message));
|
||||||
DebugCommand.SendDebugMessage("-- Full ChatProcessing time: " + (System.nanoTime() - processstart));
|
DebugCommand.SendDebugMessage(
|
||||||
DebugCommand.SendDebugMessage("-- ChatFormatter.Combine time: " + combinetime);
|
"-- Full ChatProcessing time: " + (System.nanoTime() - processstart) / 1000000f + " ms");
|
||||||
|
DebugCommand.SendDebugMessage("-- ChatFormatter.Combine time: " + combinetime / 1000000f + " ms");
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue