From 8c8683cf8d76cdf514f73e03485d14e3760761f5 Mon Sep 17 00:00:00 2001 From: Pilzinsel64 Date: Wed, 7 Dec 2022 07:17:46 +0100 Subject: [PATCH] enable tags on ALL chat messages, regardless if the Chat Type is defined --- 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 ae31123..c6e4eb1 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) { AddTagsToChat(sender, type, true); AddTagsToChat(message, type, false);