mirror of
https://github.com/Bluewhale1337/ElvUIModernized.git
synced 2026-07-27 08:24:44 +00:00
fix #32
This commit is contained in:
@@ -6,7 +6,7 @@ local LW = LibStub:GetLibrary("LibWho-2.0");
|
||||
--Lua functions
|
||||
local split, upper = string.split, string.upper
|
||||
local wipe = table.wipe
|
||||
local pairs = pairs
|
||||
local pairs, unpack = pairs, unpack
|
||||
--WoW API / Variables
|
||||
local GetBattlefieldScore = GetBattlefieldScore
|
||||
local GetFriendInfo = GetFriendInfo
|
||||
@@ -61,6 +61,10 @@ function CC:GetClassByName(name, realm)
|
||||
if not name or name == "" then return end
|
||||
if realm and realm == "" then return end
|
||||
|
||||
if type(name) == "table" then
|
||||
name = unpack(name)
|
||||
end
|
||||
|
||||
local cacheDB = self:GetCacheTable()
|
||||
|
||||
if realm then
|
||||
|
||||
Reference in New Issue
Block a user