Fix banker button not showing up
This commit is contained in:
parent
54139c82df
commit
0038a49d2a
|
@ -30,6 +30,7 @@ local function GetFactionList()
|
||||||
for k,v in pairs(addon['db']['sv']['profileKeys']) do
|
for k,v in pairs(addon['db']['sv']['profileKeys']) do
|
||||||
n,_,m = strsplit(' ',k,3)
|
n,_,m = strsplit(' ',k,3)
|
||||||
if(n) then
|
if(n) then
|
||||||
|
m = string.gsub(m, "%s+", "")
|
||||||
if(m == realm) then
|
if(m == realm) then
|
||||||
if(faction == dbr[n]['faction']) then
|
if(faction == dbr[n]['faction']) then
|
||||||
l[n] = true
|
l[n] = true
|
||||||
|
|
Loading…
Reference in New Issue