Add logging of color codes (#1811)

This commit is contained in:
Daenges 2021-10-30 05:40:58 +02:00 committed by GitHub
parent 6928cd40fd
commit 4ba09754de
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 1 deletions

View file

@ -29,7 +29,8 @@ namespace MinecraftClient.Logger
{
try
{
msg = ChatBot.GetVerbatim(msg);
if (!Settings.SaveColorCodes)
msg = ChatBot.GetVerbatim(msg);
if (prependTimestamp)
msg = GetTimestamp() + ' ' + msg;