mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2026-08-15 13:04:36 +00:00
Implement console chat visibility controls
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
9c994de2ee
commit
7bf342baab
14 changed files with 226 additions and 2 deletions
|
|
@ -72,7 +72,8 @@ namespace MinecraftClient.Logger
|
|||
{
|
||||
if (ShouldDisplay(FilterChannel.Chat, msg))
|
||||
{
|
||||
LogAndSave(msg);
|
||||
ConsoleIO.WriteChatLineFormatted(msg);
|
||||
Save(msg);
|
||||
}
|
||||
else Debug("[Logger] One Chat message filtered: " + msg);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -81,7 +81,7 @@ namespace MinecraftClient.Logger
|
|||
{
|
||||
if (ShouldDisplay(FilterChannel.Chat, msg))
|
||||
{
|
||||
Log(msg);
|
||||
ConsoleIO.WriteChatLineFormatted(msg);
|
||||
}
|
||||
else Debug("[Logger] One Chat message filtered: " + msg);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue