From 2081912a3998863db78bba54c22a71b58b61dd36 Mon Sep 17 00:00:00 2001 From: MarioSpore Date: Fri, 3 Oct 2025 16:40:20 -0400 Subject: [PATCH] Fixed Exception error --- worlds/grinch/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/worlds/grinch/__init__.py b/worlds/grinch/__init__.py index 06db8474..b13185db 100644 --- a/worlds/grinch/__init__.py +++ b/worlds/grinch/__init__.py @@ -8,7 +8,7 @@ from .Client import * from typing import ClassVar from worlds.AutoWorld import World -import Options +from Options import OptionError from .Options import GrinchOptions from .Rules import access_rules_dict @@ -31,7 +31,7 @@ class GrinchWorld(World): def generate_early(self) -> None: #Special conditions changed before generation occurs if self.options.ring_link == 1 and self.options.unlimited_eggs == 1: - raise Options.OptionError("Cannot enable both unlimited rotten eggs and ring links. You can only enable one of these at a time."+ + raise OptionError("Cannot enable both unlimited rotten eggs and ring links. You can only enable one of these at a time." + f"The following player's YAML needs to be fixed: {self.player_name}")