diff --git a/core/gears.lua b/core/gears.lua index 1b6de893..1dc95cc7 100644 --- a/core/gears.lua +++ b/core/gears.lua @@ -732,8 +732,6 @@ function _detalhes.storage:OpenRaidStorage() end end - do return end - --get the storage table local db = DetailsDataStorage @@ -1420,8 +1418,6 @@ local createStorageTables = function() end function _detalhes.ScheduleLoadStorage() - do return end - if (InCombatLockdown() or UnitAffectingCombat("player")) then if (_detalhes.debug) then print("|cFFFFFF00Details! storage scheduled to load (player in combat).") diff --git a/core/parser.lua b/core/parser.lua index e531dd8f..f990b6f8 100755 --- a/core/parser.lua +++ b/core/parser.lua @@ -4798,7 +4798,7 @@ local SPELL_POWER_PAIN = SPELL_POWER_PAIN or (PowerEnum and PowerEnum.Pain) or 1 --if the current raid is current tier raid, pre-load the storage database if (zoneType == "raid") then if (Details.InstancesToStoreData[zoneMapID]) then - --Details.ScheduleLoadStorage() + Details.ScheduleLoadStorage() end end @@ -5170,7 +5170,7 @@ local SPELL_POWER_PAIN = SPELL_POWER_PAIN or (PowerEnum and PowerEnum.Pain) or 1 --when the user requested data from the storage but is in combat lockdown if (Details.schedule_storage_load) then Details.schedule_storage_load = nil - --Details.ScheduleLoadStorage() + Details.ScheduleLoadStorage() end --store a boss encounter when out of combat since it might need to load the storage diff --git a/plugins/Details_DataStorage/Details_DataStorage.lua b/plugins/Details_DataStorage/Details_DataStorage.lua index d75101e4..72ad559a 100644 --- a/plugins/Details_DataStorage/Details_DataStorage.lua +++ b/plugins/Details_DataStorage/Details_DataStorage.lua @@ -22,12 +22,9 @@ f:SetScript("OnEvent", function(self, event, addonName) if (addonName == "Details_DataStorage") then DetailsDataStorage = DetailsDataStorage or Details:CreateStorageDB() DetailsDataStorage.Data = {} -print("loaded...") if (DetailsDataStorage.VERSION < DETAILS_STORAGE_VERSION) then - print("is outdated") --> do revisions if (DetailsDataStorage.VERSION < 6) then - print("outdated two, data wiped!") table.wipe(DetailsDataStorage) DetailsDataStorage = Details:CreateStorageDB() end