mirror of
https://github.com/Campofinale/CampofinaleBackup.git
synced 2025-12-15 23:34:36 +00:00
Reduce Log Spam
This commit is contained in:
parent
91103aaac8
commit
27c8a06a4f
@ -186,7 +186,7 @@ namespace Campofinale.Network
|
||||
Array.Copy(byteArray, 3, csHeadBytes, 0, headLength);
|
||||
Array.Copy(byteArray, 3+ headLength, BodyBytes, 0, bodyLength);
|
||||
CSHead csHead_ = CSHead.Parser.ParseFrom(csHeadBytes);
|
||||
if (Server.config.logOptions.packets)
|
||||
if (Server.config.logOptions.packets && !Server.csMessageToHide.Contains((CsMsgId)csHead_.Msgid))
|
||||
{
|
||||
Logger.Print(csHead_.ToString());
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user