Core: Minimal-Items Accessibility Fix (#1888)
This commit is contained in:
parent
151e2c3ac2
commit
6f3bc3a7ad
|
@ -572,9 +572,10 @@ class MultiWorld():
|
|||
|
||||
def location_condition(location: Location):
|
||||
"""Determine if this location has to be accessible, location is already filtered by location_relevant"""
|
||||
if location.player in players["minimal"]:
|
||||
return False
|
||||
if location.player in players["locations"] or (location.item and location.item.player not in
|
||||
players["minimal"]):
|
||||
return True
|
||||
return False
|
||||
|
||||
def location_relevant(location: Location):
|
||||
"""Determine if this location is relevant to sweep."""
|
||||
|
|
Loading…
Reference in New Issue