Skip to content

Commit

Permalink
Core: fix incorrect ordering on the always_allow static method (Archi…
Browse files Browse the repository at this point in the history
  • Loading branch information
alwaysintreble authored Mar 12, 2024
1 parent 1705213 commit c4ec868
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 @@ -1032,7 +1032,7 @@ class Location:
locked: bool = False
show_in_spoiler: bool = True
progress_type: LocationProgressType = LocationProgressType.DEFAULT
always_allow = staticmethod(lambda item, state: False)
always_allow = staticmethod(lambda state, item: False)
access_rule: Callable[[CollectionState], bool] = staticmethod(lambda state: True)
item_rule = staticmethod(lambda item: True)
item: Optional[Item] = None
Expand Down

0 comments on commit c4ec868

Please sign in to comment.