From be2758620327dc91f67ef0bac462c1c1e9308910 Mon Sep 17 00:00:00 2001 From: espeon65536 Date: Tue, 7 Sep 2021 22:41:20 -0500 Subject: [PATCH] make stage_generate_output a class method --- worlds/oot/__init__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/worlds/oot/__init__.py b/worlds/oot/__init__.py index a1b56849..dc6eed26 100644 --- a/worlds/oot/__init__.py +++ b/worlds/oot/__init__.py @@ -683,7 +683,8 @@ class OOTWorld(World): rom.restore() # Gathers hint data for OoT. Loops over all world locations for woth, barren, and major item locations. - def stage_generate_output(world: MultiWorld, output_directory: str): + @classmethod + def stage_generate_output(cls, world: MultiWorld, output_directory: str): def hint_type_players(hint_type: str) -> set: return {autoworld.player for autoworld in world.get_game_worlds("Ocarina of Time") if autoworld.hints != 'none' and autoworld.hint_dist_user['distribution'][hint_type]['copies'] > 0}