From 766e4983565d31f623224a202057d0c1e5fe3127 Mon Sep 17 00:00:00 2001 From: codemann8 Date: Sun, 2 Jan 2022 16:32:27 -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 7395cbe4..94ca5761 100644 --- a/ItemList.py +++ b/ItemList.py @@ -343,7 +343,7 @@ def generate_itempool(world, player): if world.treasure_hunt_total[player] == 0: world.treasure_hunt_total[player] = 30 world.treasure_hunt_icon[player] = 'Triforce Piece' - if world.custom: + if world.custom and player in world.customitemarray: world.treasure_hunt_count[player] = treasure_hunt_count world.treasure_hunt_total[player] = treasure_hunt_total