From 8d30a84bad1fb9bbd137ab6bf86253bf1db9aa15 Mon Sep 17 00:00:00 2001 From: sim0nshi Date: Sat, 17 May 2025 18:07:55 +0800 Subject: [PATCH] fix: message sending group order --- Message.lua | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/Message.lua b/Message.lua index 0ca583c..dd831d4 100644 --- a/Message.lua +++ b/Message.lua @@ -30,15 +30,11 @@ function Necrosis:Msg(msg, type) if UnitInRaid("player") then -- send to all raid members SendChatMessage(msg, "RAID") - elseif UnitInParty("player") then - -- send to party members - SendChatMessage(msg, "PARTY") elseif IsInGroup(LE_PARTY_CATEGORY_INSTANCE) then SendChatMessage(msg, "INSTANCE_CHAT") elseif UnitInParty("player") then - -- send to party members + -- send to party members SendChatMessage(msg, "PARTY") - else -- not in a group so lets use the 'say' channel if (inInstance) then SendChatMessage(msg, "SAY") end