From 6f3bc3a7ad1f32380f000be7c13d5afda5b372d7 Mon Sep 17 00:00:00 2001 From: Alchav <59858495+Alchav@users.noreply.github.com> Date: Mon, 12 Feb 2024 20:45:39 -0500 Subject: [PATCH] Core: Minimal-Items Accessibility Fix (#1888) --- BaseClasses.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/BaseClasses.py b/BaseClasses.py index 39f82266..15470f82 100644 --- a/BaseClasses.py +++ b/BaseClasses.py @@ -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 - return True + 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."""