maybe fix wrong(?) operator

-> Chat messages should not be processed anymore when disabled
This commit is contained in:
2022-11-08 07:57:21 +01:00
parent 2770797ada
commit c2b2fa86a4

View File

@@ -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);