From 4eeac945fb50864da037c8f24376ff4ffc4f9e4b Mon Sep 17 00:00:00 2001 From: NewSoupVi <57900059+NewSoupVi@users.noreply.github.com> Date: Sat, 21 Sep 2024 19:03:24 +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 70ec9dc741..73b5aae243 100644 --- a/docs/world api.md +++ b/docs/world api.md @@ -720,7 +720,7 @@ After doing this, you can now access `state.defeatable_enemies[player]` from you Usually, doing this coincides with an override of `World.collect` and `World.remove`, where any time a relevant item is collected or removed, the custom state variable gets recalculated. -``` +```python # __init__.py def collect(self, state: CollectionState, item: Item) -> bool: