Core: fix comment that did more harm than good (#2826)

This commit is contained in:
Fabian Dill
2024-02-15 23:34:29 +01:00
committed by GitHub
parent 057e372325
commit 9805bf92e4

View File

@@ -438,7 +438,7 @@ class World(metaclass=AutoWorldRegister):
def get_pre_fill_items(self) -> List["Item"]:
return []
# following methods should not need to be overridden.
# these two methods can be extended for pseudo-items on state
def collect(self, state: "CollectionState", item: "Item") -> bool:
name = self.collect_item(state, item)
if name: