From 5cbb428ef33e865d6c5109047b9f9a85f2897caa Mon Sep 17 00:00:00 2001 From: Fabian Dill Date: Tue, 3 Dec 2024 22:26:15 +0100 Subject: [PATCH] Core: have APPlayerContainer return manifest --- worlds/Files.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/worlds/Files.py b/worlds/Files.py index ea2f9f8e4e75..cae7ac233729 100644 --- a/worlds/Files.py +++ b/worlds/Files.py @@ -157,11 +157,12 @@ def __init__(self, path: Optional[str] = None, player: Optional[int] = None, self.player_name = player_name self.server = server - def read_contents(self, opened_zipfile: zipfile.ZipFile) -> None: + def read_contents(self, opened_zipfile: zipfile.ZipFile) -> Dict[str, Any]: manifest = super().read_contents(opened_zipfile) self.player = manifest["player"] self.server = manifest["server"] self.player_name = manifest["player_name"] + return manifest def get_manifest(self) -> Dict[str, Any]: manifest = super().get_manifest()