Skip to content

Commit

Permalink
Update worlds/kh1/Rules.py
Browse files Browse the repository at this point in the history
Co-authored-by: Scipio Wright <[email protected]>
  • Loading branch information
gaithern and ScipioWright authored Jul 7, 2024
1 parent fac386b commit 83def3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion worlds/kh1/Rules.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def has_item(state: CollectionState, player: int, item: str) -> bool:
return state.has(item, player)

def has_at_least(state: CollectionState, player: int, item: str, x: int) -> bool:
return state.count(item, player) >= x
return state.has(item, player, x)

def has_postcards(state: CollectionState, player: int, postcards_required: int) -> bool:
postcards_available = 0
Expand Down

0 comments on commit 83def3f

Please sign in to comment.