From 291b18d91061402fd300674f119f9281ee7e905a Mon Sep 17 00:00:00 2001 From: Vati Date: Sat, 28 Feb 2026 02:53:47 +0400 Subject: [PATCH] fix: Tools category items --- Core/CategoryManager.lua | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Core/CategoryManager.lua b/Core/CategoryManager.lua index 2058e30..b0618b3 100644 --- a/Core/CategoryManager.lua +++ b/Core/CategoryManager.lua @@ -293,7 +293,7 @@ local DEFAULT_CATEGORIES = { { type = "isProfessionTool", value = true } }, matchMode = "all", - priority = 60, + priority = 72, enabled = true, isBuiltIn = true, group = GROUP_OTHER, @@ -543,6 +543,13 @@ function CategoryManager:MigrateCategories() end end + -- Migrate Tools priority: must be above Weapon (70) to catch fishing poles, skinning knives, etc. + local toolsCat = cats.definitions["Tools"] + if toolsCat and toolsCat.isBuiltIn and toolsCat.priority and toolsCat.priority < 72 then + toolsCat.priority = 72 + addon:Debug("CategoryManager: Updated Tools priority to 72 (above Weapon/Armor)") + end + -- Ensure new categories in the order list are in correct positions -- Check if order needs rebuilding to include new group-based ordering local hasTools, hasEmpty = false, false