From c2b2fa86a4dff4235d5f4f5ccbaaa5614da2ae82 Mon Sep 17 00:00:00 2001 From: Pilzinsel64 Date: Tue, 8 Nov 2022 07:57:21 +0100 Subject: [PATCH] maybe fix wrong(?) operator -> Chat messages should not be processed anymore when disabled --- PlayerTags/Features/ChatTagTargetFeature.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PlayerTags/Features/ChatTagTargetFeature.cs b/PlayerTags/Features/ChatTagTargetFeature.cs index 4239425..cfb29da 100644 --- a/PlayerTags/Features/ChatTagTargetFeature.cs +++ b/PlayerTags/Features/ChatTagTargetFeature.cs @@ -121,7 +121,7 @@ namespace PlayerTags.Features private void Chat_ChatMessage(XivChatType type, uint senderId, ref SeString sender, ref SeString message, ref bool isHandled) { - if (m_PluginConfiguration.GeneralOptions[ActivityContextManager.CurrentActivityContext.ActivityType].IsApplyTagsToAllChatMessagesEnabled || Enum.IsDefined(type)) + if (m_PluginConfiguration.GeneralOptions[ActivityContextManager.CurrentActivityContext.ActivityType].IsApplyTagsToAllChatMessagesEnabled && Enum.IsDefined(type)) { AddTagsToChat(sender, type, true); AddTagsToChat(message, type, false);