Skip to content

Commit

Permalink
Fill: Changing deprecated option getter (#2735)
Browse files Browse the repository at this point in the history
  • Loading branch information
Exempt-Medic authored Feb 10, 2024
1 parent 4032cfb commit 59ef010
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Fill.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 59ef010

Please sign in to comment.