From 464176481918500cb5d738ec3de4fe83ed6e39a8 Mon Sep 17 00:00:00 2001 From: Claude Date: Sun, 23 Nov 2025 19:45:10 +0000 Subject: [PATCH] Simplify patch signature - only use needed parameters --- Harmony/CHRANIBotTNG.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Harmony/CHRANIBotTNG.cs b/Harmony/CHRANIBotTNG.cs index 693df61..4e643ae 100644 --- a/Harmony/CHRANIBotTNG.cs +++ b/Harmony/CHRANIBotTNG.cs @@ -17,7 +17,7 @@ public class CHRANIBotTNG : IModApi [HarmonyPatch(typeof(GameManager), "ChatMessageServer")] public class ChatMessagePatch { - static bool Prefix(ClientInfo _cInfo, EChatType _chatType, int _senderEntityId, string _msg, List _recipientEntityIds, EMessageSender _msgSender, BbCodeSupportMode _bbMode) + static bool Prefix(ClientInfo _cInfo, string _msg) { if (_msg != null && _msg.StartsWith("/bot ")) {