Skip to content

Commit

Permalink
Make the addon:Msg() print has many parameters as needed
Browse files Browse the repository at this point in the history
  • Loading branch information
Tercioo committed Oct 26, 2020
1 parent f2bba9d commit 5c0aa68
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions fw.lua
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@


local dversion = 213
local dversion = 214

local major, minor = "DetailsFramework-1.0", dversion
local DF, oldminor = LibStub:NewLibrary (major, minor)
Expand Down Expand Up @@ -612,8 +612,8 @@ function DF:TruncateText (fontString, maxWidth)
end
end

function DF:Msg (msg)
print ("|cFFFFFFAA" .. (self.__name or "FW Msg:") .. "|r ", msg)
function DF:Msg (msg, ...)
print ("|cFFFFFFAA" .. (self.__name or "FW Msg:") .. "|r ", msg, ...)
end

function DF:GetNpcIdFromGuid (guid)
Expand Down

0 comments on commit 5c0aa68

Please sign in to comment.