diff --git a/ElvUI/Core/ClassCache.lua b/ElvUI/Core/ClassCache.lua index 2532936..4746ca7 100644 --- a/ElvUI/Core/ClassCache.lua +++ b/ElvUI/Core/ClassCache.lua @@ -220,7 +220,7 @@ end function CC:WipeCache(global) if global then for realm in pairs(self.cache) do - wipe(realm) + wipe(self.cache[realm]) end wipe(self.cache) @@ -230,7 +230,7 @@ function CC:WipeCache(global) E:Print(L["Class DB cache wiped."]) else for realm in pairs(self.tempCache) do - wipe(realm) + wipe(self.tempCache[realm]) end wipe(self.tempCache)