core: clarify usage of classmethods in World class (#1449)

This commit is contained in:
el-u
2023-02-16 00:28:02 +01:00
committed by GitHub
parent b20be3ccec
commit ad4846cedd
13 changed files with 28 additions and 20 deletions

View File

@@ -107,7 +107,7 @@ class SMWorld(World):
super().__init__(world, player)
@classmethod
def stage_assert_generate(cls, world):
def stage_assert_generate(cls, multiworld: MultiWorld):
rom_file = get_base_rom_path()
if not os.path.exists(rom_file):
raise FileNotFoundError(rom_file)