mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 20:21:32 -06:00
sc2: Fixing typo in itemgroups.py causing spurious item groups with 2 letters chopped off (#3612)
This commit is contained in:
@@ -51,7 +51,7 @@ for item, data in Items.get_full_item_list().items():
|
||||
item_name_groups.setdefault(data.type, []).append(item)
|
||||
# Numbered flaggroups get sorted into an unnumbered group
|
||||
# Currently supports numbers of one or two digits
|
||||
if data.type[-2:].strip().isnumeric:
|
||||
if data.type[-2:].strip().isnumeric():
|
||||
type_group = data.type[:-2].strip()
|
||||
item_name_groups.setdefault(type_group, []).append(item)
|
||||
# Flaggroups with numbers are unlisted
|
||||
|
Reference in New Issue
Block a user