Update src/item_finder.py

Co-authored-by: aeon0 <aeon4@pm.me>
This commit is contained in:
Sp3cialk29
2021-11-08 14:13:03 -07:00
committed by GitHub
parent eaa2d67c42
commit ea8a382448

View File

@@ -49,7 +49,7 @@ class ItemFinder:
# load all templates
self._templates = {}
for filename in os.listdir('assets/items'):
filename = filename.lower()
filename = filename.lower()
if filename.endswith('.png'):
item_name = filename[:-4]
blacklist_item = item_name.startswith("bl__")