mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2026-08-15 13:04:36 +00:00
Gate empty-packet log under debug, add packet exclusion list
- Change empty packet log from log.Warn to log.Debug so it only shows when DebugMessages is enabled - Add PacketDebugExclusions config (List<string>) to suppress specific packet types like KeepAlive, Ping from packet debug output - Check exclusion in both LogIncomingPacket and LogOutgoingPacket - Add ConfigComments resource entry for the new setting
This commit is contained in:
parent
28e845d1ca
commit
98dfde6cc2
4 changed files with 30 additions and 2 deletions
|
|
@ -1080,6 +1080,9 @@ namespace MinecraftClient
|
|||
[TomlInlineComment("$Logging.PacketDebugMessages$")]
|
||||
public bool PacketDebugMessages = false;
|
||||
|
||||
[TomlInlineComment("$Logging.PacketDebugExclusions$")]
|
||||
public List<string> PacketDebugExclusions = new();
|
||||
|
||||
[TomlInlineComment("$Logging.ChatMessages$")]
|
||||
public bool ChatMessages = true;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue