From 584dd8fe7570d8aa705608f9e83437b737ccf1da Mon Sep 17 00:00:00 2001 From: NewSoupVi <57900059+NewSoupVi@users.noreply.github.com> Date: Sat, 21 Sep 2024 18:59:36 +0200 Subject: [PATCH] Update world api.md --- docs/world api.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/world api.md b/docs/world api.md index 32dc07d11b..097cf71f3d 100644 --- a/docs/world api.md +++ b/docs/world api.md @@ -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 ```