Fixed issue in multiworld where some players dont have a custom item pool

This commit is contained in:
codemann8
2022-01-02 16:32:27 -06:00
parent 2d291ef3fb
commit 766e498356

View File

@@ -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