Skip to content

Commit

Permalink
Update ItemPool.py
Browse files Browse the repository at this point in the history
Co-authored-by: Fenhl <[email protected]>
  • Loading branch information
rrealmuto and fenhl authored Sep 20, 2024
1 parent 0510c1a commit 69e4b45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ItemPool.py
Original file line number Diff line number Diff line change
Expand Up @@ -899,7 +899,7 @@ def get_pool_core(world: World) -> tuple[list[str], dict[str, Item]]:
else:
placed_items['Gift from Sages'] = ItemFactory(IGNORE_LOCATION, world)

if world.settings.junk_ice_traps in ['off', 'custom_count', 'custom_percent']:
if world.settings.junk_ice_traps in ('off', 'custom_count', 'custom_percent'):
replace_max_item(pool, 'Ice Trap', 0)
elif world.settings.junk_ice_traps == 'onslaught':
for item in [item for item, weight in junk_pool_base] + ['Recovery Heart', 'Bombs (20)', 'Arrows (30)']:
Expand Down

0 comments on commit 69e4b45

Please sign in to comment.