mirror of
https://github.com/Bluewhale1337/ElvUIModernized.git
synced 2026-07-27 08:24:44 +00:00
fix nil error
This commit is contained in:
@@ -220,7 +220,7 @@ end
|
|||||||
function CC:WipeCache(global)
|
function CC:WipeCache(global)
|
||||||
if global then
|
if global then
|
||||||
for realm in pairs(self.cache) do
|
for realm in pairs(self.cache) do
|
||||||
wipe(realm)
|
wipe(self.cache[realm])
|
||||||
end
|
end
|
||||||
|
|
||||||
wipe(self.cache)
|
wipe(self.cache)
|
||||||
@@ -230,7 +230,7 @@ function CC:WipeCache(global)
|
|||||||
E:Print(L["Class DB cache wiped."])
|
E:Print(L["Class DB cache wiped."])
|
||||||
else
|
else
|
||||||
for realm in pairs(self.tempCache) do
|
for realm in pairs(self.tempCache) do
|
||||||
wipe(realm)
|
wipe(self.tempCache[realm])
|
||||||
end
|
end
|
||||||
|
|
||||||
wipe(self.tempCache)
|
wipe(self.tempCache)
|
||||||
|
|||||||
Reference in New Issue
Block a user