Update world api.md

This commit is contained in:
NewSoupVi
2024-09-21 18:59:36 +02:00
committed by GitHub
parent 259d010a86
commit 584dd8fe75

View File

@@ -732,7 +732,7 @@ def collect(self, state: CollectionState, item: Item) -> bool:
def remove(self, state: CollectionState, item: Item) -> bool:
change = super().remove(state, item)
if change and item in COMBAT_ITEMS:
state.defeatable_enemies |= get_newly_locked_enemies(state)
state.defeatable_enemies -= get_newly_locked_enemies(state)
return change
```