mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2026-08-15 13:04:36 +00:00
Polish console chat visibility implementation
Agent-Logs-Url: https://github.com/MCCTeam/Minecraft-Console-Client/sessions/159bd460-7950-4afe-9e69-4892220665e1 Co-authored-by: milutinke <441903+milutinke@users.noreply.github.com>
This commit is contained in:
parent
7bf342baab
commit
1a1caec30a
6 changed files with 12 additions and 9 deletions
|
|
@ -72,7 +72,7 @@ namespace MinecraftClient.Logger
|
|||
{
|
||||
if (ShouldDisplay(FilterChannel.Chat, msg))
|
||||
{
|
||||
ConsoleIO.WriteChatLineFormatted(msg);
|
||||
ConsoleIO.WriteChatLineIfVisible(msg);
|
||||
Save(msg);
|
||||
}
|
||||
else Debug("[Logger] One Chat message filtered: " + msg);
|
||||
|
|
|
|||
|
|
@ -81,7 +81,7 @@ namespace MinecraftClient.Logger
|
|||
{
|
||||
if (ShouldDisplay(FilterChannel.Chat, msg))
|
||||
{
|
||||
ConsoleIO.WriteChatLineFormatted(msg);
|
||||
ConsoleIO.WriteChatLineIfVisible(msg);
|
||||
}
|
||||
else Debug("[Logger] One Chat message filtered: " + msg);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue