Skip to content

Commit

Permalink
Fix turning off 'colours' option in GUI console still showing the raw…
Browse files Browse the repository at this point in the history
… colour codes in messages
  • Loading branch information
UnknownShadow200 committed Mar 20, 2020
1 parent 2a0e56f commit e1e8535
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion GUI/Controls/ColoredTextBox.cs
Expand Up @@ -98,7 +98,7 @@ public class ColoredTextBox : RichTextBox {
if (dateStamp) AppendColoredText(CurrentDate, Color.Gray);

if (!Colorize) {
AppendText(text);
AppendText(Colors.Strip(text));
} else {
AppendFormatted(text, color);
}
Expand Down
1 change: 1 addition & 0 deletions MCGalaxy/Database/Stats/TopStat.cs
Expand Up @@ -75,6 +75,7 @@ public sealed class TopStat {
PlayerData.ColumnDrawn + " & " + PlayerData.LoBitsMask,
MostDrawn, FormatInteger),
new TopStat("Placed", "Players",
// TODO: Check if this works on MySQL too
PlayerData.ColumnBlocks + " >> " + PlayerData.HiBitsShift + " & " + PlayerData.HiBitsMask,
MostPlaced, FormatInteger),
new TopStat("Deleted", "Players",
Expand Down

0 comments on commit e1e8535

Please sign in to comment.