Skip to content

Commit

Permalink
only check "items" players when the item is progression
Browse files Browse the repository at this point in the history
  • Loading branch information
alwaysintreble committed Apr 28, 2024
1 parent 74905c2 commit ecbf986
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion BaseClasses.py
Original file line number Diff line number Diff line change
Expand Up @@ -584,7 +584,7 @@ def fulfills_accessibility(self, state: Optional[CollectionState] = None):
def location_condition(location: Location) -> bool:
"""Determine if this location has to be accessible, location is already filtered by location_relevant"""
return location.player in players["full"] or \
(location.item and location.item.player not in players["minimal"])
(location.item and location.item.advancement and location.item.player not in players["minimal"])

def location_relevant(location: Location) -> bool:
"""Determine if this location is relevant to sweep."""
Expand Down

0 comments on commit ecbf986

Please sign in to comment.