From 694aa113d637f147de4a7c9f6eaa5bdd516508d4 Mon Sep 17 00:00:00 2001 From: MgAl2O4 <51430403+MgAl2O4@users.noreply.github.com> Date: Wed, 29 Sep 2021 17:47:28 -0400 Subject: [PATCH] initial values of plugin category fallbacks for testing --- .../Interface/Internal/PluginCategoryManager.cs | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) diff --git a/Dalamud/Interface/Internal/PluginCategoryManager.cs b/Dalamud/Interface/Internal/PluginCategoryManager.cs index b1c8204b2..818c2d333 100644 --- a/Dalamud/Interface/Internal/PluginCategoryManager.cs +++ b/Dalamud/Interface/Internal/PluginCategoryManager.cs @@ -60,12 +60,9 @@ namespace Dalamud.Interface.Internal /// key: PluginManifest.InternalName (lowercase, no spaces), /// value: list of category tags, . /// - private Dictionary mapPluginCategoryTagFallbacks = new(); - -#if DEBUG - // temp - hardcode some tag values for testing, idk what most of them does so it's probably not very accurate :D - private Dictionary mapPluginCategoryTagFallbacksHACK = new() + private Dictionary mapPluginCategoryTagFallbacks = new() { + // temporary for testing, should be removed when manifests are updated ["accuratecountdown"] = new string[] { "UI" }, ["adventurerinneed"] = new string[] { "UI" }, ["aethersense"] = new string[] { "Other" }, @@ -150,7 +147,6 @@ namespace Dalamud.Interface.Internal ["xivchat"] = new string[] { "social" }, ["xivcombo"] = new string[] { "jobs" }, }; -#endif // DEBUG /// /// Type of category group. @@ -383,13 +379,6 @@ namespace Dalamud.Interface.Internal return fallbackTags; } -#if DEBUG - if (this.mapPluginCategoryTagFallbacksHACK.TryGetValue(nameKey, out var dummyTags)) - { - return dummyTags; - } -#endif // DEBUG - return null; }