From a7776a24b7e64ec84459850eb4c1ef89cdd04f98 Mon Sep 17 00:00:00 2001 From: digiholic Date: Wed, 23 Oct 2024 11:24:24 -0600 Subject: [PATCH] Excluded locations is no longer a set since you can't append to a set with += --- worlds/mmbn3/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/worlds/mmbn3/__init__.py b/worlds/mmbn3/__init__.py index 780a8dd6aabc..925fb4310e3a 100644 --- a/worlds/mmbn3/__init__.py +++ b/worlds/mmbn3/__init__.py @@ -61,7 +61,7 @@ class MMBN3World(World): item_name_to_id = {name: data.code for name, data in item_table.items()} location_name_to_id = {loc_data.name: loc_data.id for loc_data in all_locations} - excluded_locations: typing.Set[str] + excluded_locations: typing.List[str] item_frequencies: typing.Dict[str, int] location_name_groups = location_groups @@ -78,7 +78,7 @@ def generate_early(self) -> None: if self.options.extra_ranks > 0: self.item_frequencies[ItemName.Progressive_Undernet_Rank] = 8 + self.options.extra_ranks - self.excluded_locations = set() + self.excluded_locations = [] if not self.options.include_secret: self.excluded_locations += secret_locations if not self.options.include_jobs: