Use logic when placing non-excluded items

This commit is contained in:
Brad Humphrey
2022-01-31 14:23:01 -07:00
committed by Fabian Dill
parent feba54d5d2
commit 2361f8f9d3
3 changed files with 32 additions and 6 deletions

View File

@@ -254,7 +254,7 @@ class MultiWorld():
self._all_state = ret
return ret
def get_items(self) -> list:
def get_items(self) -> List[Item]:
return [loc.item for loc in self.get_filled_locations()] + self.itempool
def find_item_locations(self, item, player: int) -> List[Location]: