Core: fix missing import for `MultiWorld.link_items()` (#3731)

This commit is contained in:
Aaron Wagener 2024-08-04 06:55:34 -05:00 committed by GitHub
parent 4620493828
commit c0ef02d6fa
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 11 additions and 9 deletions

View File

@ -290,6 +290,8 @@ class MultiWorld():
def link_items(self) -> None: def link_items(self) -> None:
"""Called to link together items in the itempool related to the registered item link groups.""" """Called to link together items in the itempool related to the registered item link groups."""
from worlds import AutoWorld
for group_id, group in self.groups.items(): for group_id, group in self.groups.items():
def find_common_pool(players: Set[int], shared_pool: Set[str]) -> Tuple[ def find_common_pool(players: Set[int], shared_pool: Set[str]) -> Tuple[
Optional[Dict[int, Dict[str, int]]], Optional[Dict[str, int]] Optional[Dict[int, Dict[str, int]]], Optional[Dict[str, int]]