From 0bce1f6cb6acef8e1ac8e476bc5618a8fa09133c Mon Sep 17 00:00:00 2001 From: Crum Date: Sun, 24 Jun 2018 23:03:48 -0500 Subject: [PATCH] fix nil error --- ElvUI/Core/ClassCache.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)