Use Console.WriteLine instead of non-existent Log.Out

This commit is contained in:
Claude
2025-11-23 19:53:50 +00:00
parent 1217cc30be
commit 2aca59b25e

View File

@@ -24,7 +24,7 @@ public class ChatMessagePatch
string playerName = _cInfo != null ? _cInfo.playerName : "Server";
// Write to server log (visible in telnet)
Log.Out($"Chat (from '{playerName}', entity id '{(_cInfo != null ? _cInfo.entityId.ToString() : "-1")}', to '{(_recipientEntityIds != null && _recipientEntityIds.Count > 0 ? "players" : "all")}'): '{_msg}'");
Console.WriteLine($"Chat (from '{playerName}', entity id '{(_cInfo != null ? _cInfo.entityId.ToString() : "-1")}', to '{(_recipientEntityIds != null && _recipientEntityIds.Count > 0 ? "players" : "all")}'): '{_msg}'");
// Block in-game chat display
return false;