From a36cc06cb268ac0a4f8f979aed581d8e666e028b Mon Sep 17 00:00:00 2001 From: Breeni Date: Mon, 22 Apr 2024 18:37:30 +0100 Subject: [PATCH] Fixed an issue where equipment sets could not be filtered by class unless they had a specialization restriction set --- Equipment.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Equipment.lua b/Equipment.lua index 56bd861..0c529ef 100644 --- a/Equipment.lua +++ b/Equipment.lua @@ -1237,6 +1237,8 @@ local function UpdateSetFilters(set) Internal.UpdateRestrictionFilters(set) set.filters.character = set.character + local characterInfo = GetCharacterInfo(set.character); + set.filters.class = characterInfo and characterInfo.class; return set end