mirror of
https://github.com/Bluewhale1337/ElvUIModernized.git
synced 2026-07-27 08:24:44 +00:00
update
This commit is contained in:
+4
-2
@@ -141,7 +141,7 @@ function E:ColorizedName(name, arg2)
|
|||||||
end
|
end
|
||||||
|
|
||||||
function E:Print(msg)
|
function E:Print(msg)
|
||||||
print(_G[self.db.general.messageRedirect] or DEFAULT_CHAT_FRAME):AddMessage(strjoin("", self:ColorizedName("ElvUI", true), msg)) -- I put DEFAULT_CHAT_FRAME as a fail safe.
|
print(self:ColorizedName("ElvUI", true), msg)
|
||||||
end
|
end
|
||||||
|
|
||||||
E.PriestColors = {
|
E.PriestColors = {
|
||||||
@@ -782,10 +782,12 @@ end
|
|||||||
|
|
||||||
local SendRecieveGroupSize = 0
|
local SendRecieveGroupSize = 0
|
||||||
local function SendRecieve()
|
local function SendRecieve()
|
||||||
|
local prefix, message, sender = arg1, arg2, arg4
|
||||||
|
|
||||||
if event == "CHAT_MSG_ADDON" then
|
if event == "CHAT_MSG_ADDON" then
|
||||||
if sender == E.myname then return end
|
if sender == E.myname then return end
|
||||||
|
|
||||||
if prefix == "ELVUI_VERSIONCHK" then
|
if arg1 == "ELVUI_VERSIONCHK" then
|
||||||
local msg, ver = tonumber(message), tonumber(E.version)
|
local msg, ver = tonumber(message), tonumber(E.version)
|
||||||
if msg and (msg > ver) then -- you're outdated D:
|
if msg and (msg > ver) then -- you're outdated D:
|
||||||
if not E.recievedOutOfDateMessage then
|
if not E.recievedOutOfDateMessage then
|
||||||
|
|||||||
Reference in New Issue
Block a user