diff --git a/overviewer_core/world.py b/overviewer_core/world.py index bbfc7cf..0597317 100644 --- a/overviewer_core/world.py +++ b/overviewer_core/world.py @@ -780,12 +780,7 @@ def get_worlds(): if not os.path.exists(world_dat): continue info = nbt.load(world_dat)[1] info['Data']['path'] = os.path.join(save_dir, dir).decode(loc) - if dir.startswith("World") and len(dir) == 6: - try: - world_n = int(dir[-1]) - ret[world_n] = info['Data'] - except ValueError: - pass + if 'LevelName' in info['Data'].keys(): ret[info['Data']['LevelName']] = info['Data']