From 59ef0108428bdfbb7000fb9ae0c58158abb441e2 Mon Sep 17 00:00:00 2001 From: Exempt-Medic <60412657+Exempt-Medic@users.noreply.github.com> Date: Sat, 10 Feb 2024 16:07:11 -0500 Subject: [PATCH] Fill: Changing deprecated option getter (#2735) --- Fill.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Fill.py b/Fill.py index 97ce4cbdb57c..ae44710469e4 100644 --- a/Fill.py +++ b/Fill.py @@ -173,7 +173,7 @@ def fill_restrictive(multiworld: MultiWorld, base_state: CollectionState, locati # validate all placements and remove invalid ones state = sweep_from_pool(base_state, []) for placement in placements: - if multiworld.accessibility[placement.item.player] != "minimal" and not placement.can_reach(state): + if multiworld.worlds[placement.item.player].options.accessibility != "minimal" and not placement.can_reach(state): placement.item.location = None unplaced_items.append(placement.item) placement.item = None