From d1b8b918261fce7b8924f8397755ee341db81c96 Mon Sep 17 00:00:00 2001 From: wardz <10900212+wardz@users.noreply.github.com> Date: Sun, 5 Nov 2023 03:08:25 +0100 Subject: [PATCH] hide this setting when not in classic era --- ClassicCastbars_Options/ClassicCastbars_Options.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ClassicCastbars_Options/ClassicCastbars_Options.lua b/ClassicCastbars_Options/ClassicCastbars_Options.lua index c88006d..a6ec5ff 100644 --- a/ClassicCastbars_Options/ClassicCastbars_Options.lua +++ b/ClassicCastbars_Options/ClassicCastbars_Options.lua @@ -689,6 +689,7 @@ local function GetOptionsTable() order = 8, type = "description", name = "\n", + hidden = not isClassicEra, }, -- Character specific savedvariables Checkbox @@ -716,6 +717,7 @@ local function GetOptionsTable() order = 10, width = 1.4, type = "toggle", + hidden = not isClassicEra, name = "Clear CastTime Cache Per Zone", desc = "Delete cached NPC cast times every time you change a major zone.", get = function()