From a20c87fd12c2aaa2c4218754d63f44fe34416952 Mon Sep 17 00:00:00 2001 From: Tercio Jose Date: Mon, 19 Aug 2024 11:27:46 -0300 Subject: [PATCH] Removed deprecated code and fixes --- startup.lua | 23 ++++------------------- 1 file changed, 4 insertions(+), 19 deletions(-) diff --git a/startup.lua b/startup.lua index 8536be5f6..6bbdc9c33 100644 --- a/startup.lua +++ b/startup.lua @@ -377,25 +377,6 @@ function Details222.StartUp.StartMeUp() --check is this is the first run of this version if (Details.is_version_first_run) then - local breakdownData = Details.breakdown_spell_tab - if (breakdownData) then - local spellContainerHeaders = breakdownData.spellcontainer_headers - if (spellContainerHeaders) then - if (spellContainerHeaders.overheal) then - spellContainerHeaders.overheal.enabled = true - spellContainerHeaders.overheal.width = 70 - end - end - - local targetContainerHeaders = breakdownData.targetcontainer_headers - if (targetContainerHeaders) then - if (targetContainerHeaders.overheal) then - targetContainerHeaders.overheal.enabled = true - targetContainerHeaders.overheal.width = 70 - end - end - end - local lowerInstanceId = Details:GetLowerInstanceNumber() if (lowerInstanceId) then lowerInstanceId = Details:GetInstance(lowerInstanceId) @@ -438,6 +419,10 @@ function Details222.StartUp.StartMeUp() VoidStorageBorderFrameMouseBlockFrame:Hide(); VoidStoragePurchaseFrame:Hide(); VoidStorageBorderFrame.Bg:Hide(); + + if (not CanUseVoidStorage()) then + VoidStoragePurchaseFrame:Show(); + end end) VoidStorageBorderFrameMouseBlockFrame:Hide(); VoidStoragePurchaseFrame:Hide();