From 2d291ef3fbd1f5cc0e19e48e2e1cad5113e0cb9a Mon Sep 17 00:00:00 2001 From: codemann8 Date: Sun, 2 Jan 2022 16:18:38 -0600 Subject: [PATCH] Fixed issue in multiworld where some players dont have a custom item pool --- ItemList.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ItemList.py b/ItemList.py index 6f9dfaba..7395cbe4 100644 --- a/ItemList.py +++ b/ItemList.py @@ -262,7 +262,7 @@ def generate_itempool(world, player): world.get_location('Zelda Drop Off', player).locked = True # set up item pool - if world.custom: + if world.custom and player in world.customitemarray: (pool, placed_items, precollected_items, clock_mode, treasure_hunt_count, treasure_hunt_total, treasure_hunt_icon, lamps_needed_for_dark_rooms) = make_custom_item_pool(world.progressive, world.shuffle[player], world.difficulty[player], world.timer, world.goal[player], world.mode[player], world.swords[player], world.retro[player], world.bombbag[player], world.customitemarray) world.rupoor_cost = min(world.customitemarray[player]["rupoorcost"], 9999) else: