From bbf24c227175491203ee3d1c064a961a8bd9fb71 Mon Sep 17 00:00:00 2001
From: Brandon Rodriguez <brodriguez8774@gmail.com>
Date: Tue, 4 Aug 2020 00:41:27 -0400
Subject: [PATCH] Correct hiding of accessories to not override post-equipment
 curr filters

---
 resources/parsers/accessories.py | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/resources/parsers/accessories.py b/resources/parsers/accessories.py
index 8c876ea..5015153 100644
--- a/resources/parsers/accessories.py
+++ b/resources/parsers/accessories.py
@@ -97,8 +97,9 @@ class AccessoryParser():
                     item_level='<= {0}'.format(item['DropLevel'] + normal_drop_modifier),
                 )
 
-            # Hide all other instances of accessory.
-            self.template.hidden_item(base_text=item['Name'])
+            else:
+                # Hide all other accessories.
+                self.template.hidden_item(base_text=item['Name'])
 
     def parse_amulets(self):
         """
-- 
GitLab