diff --git a/cogs/minecraft/file.py b/cogs/minecraft/file.py index d546bb2..52042cb 100644 --- a/cogs/minecraft/file.py +++ b/cogs/minecraft/file.py @@ -118,7 +118,7 @@ async def file(self, ctx, path: str, version: str="latest"): # branch = path.split("/")[0] if version != "latest": - branch = versions_hashes[branch][version] + branch = versions_hashes[branch][version_for_mongo] async with ClientSession(headers=GITHUB_HEADERS) as session: async with session.get(f"https://raw.githubusercontent.com/misode/mcmeta/{branch}/{path}") as response: if response.status != 200: