From 8c11c385f36716edbc15e0e43f667f22b1754a32 Mon Sep 17 00:00:00 2001 From: Zach Parks Date: Sun, 10 Mar 2024 01:56:57 -0600 Subject: [PATCH] ALTTP: Fix NotImplemented error when using non-`none` values for `timer`. (#2924) --- worlds/alttp/ItemPool.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/worlds/alttp/ItemPool.py b/worlds/alttp/ItemPool.py index 7a82d4c6be..0e799a61e6 100644 --- a/worlds/alttp/ItemPool.py +++ b/worlds/alttp/ItemPool.py @@ -234,8 +234,8 @@ def generate_itempool(world): raise NotImplementedError(f"Goal {multiworld.goal[player]} for player {player}") if multiworld.mode[player] not in ('open', 'standard', 'inverted'): raise NotImplementedError(f"Mode {multiworld.mode[player]} for player {player}") - if multiworld.timer[player] not in {False, 'display', 'timed', 'timed_ohko', 'ohko', 'timed_countdown'}: - raise NotImplementedError(f"Timer {multiworld.mode[player]} for player {player}") + if multiworld.timer[player] not in (False, 'display', 'timed', 'timed_ohko', 'ohko', 'timed_countdown'): + raise NotImplementedError(f"Timer {multiworld.timer[player]} for player {player}") if multiworld.timer[player] in ['ohko', 'timed_ohko']: multiworld.can_take_damage[player] = False