mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 20:21:32 -06:00
Core: remove duplicate state.item_count (#2463)
This commit is contained in:
@@ -38,7 +38,7 @@ def item_counts(cs: CollectionState, p: int) -> Tuple[Tuple[str, int], ...]:
|
||||
|
||||
((item_name, count), (item_name, count), ...)
|
||||
"""
|
||||
return tuple((item_name, cs.item_count(item_name, p)) for item_name in item_name_to_id)
|
||||
return tuple((item_name, cs.count(item_name, p)) for item_name in item_name_to_id)
|
||||
|
||||
|
||||
LogicCacheType = Dict[int, Tuple[_Counter[Tuple[str, int]], FrozenSet[Location]]]
|
||||
|
Reference in New Issue
Block a user