From fa5d40c28cdfd589d562719e0121ea09fdf84104 Mon Sep 17 00:00:00 2001 From: Fierelier Date: Fri, 13 May 2022 15:35:13 +0200 Subject: [PATCH] Do not check if client file exists, just add it to the list of libraries --- oml/modules/minecraft.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/oml/modules/minecraft.py b/oml/modules/minecraft.py index 1bff232..9058bbf 100644 --- a/oml/modules/minecraft.py +++ b/oml/modules/minecraft.py @@ -186,8 +186,7 @@ def processVersion(versionsPath,libraryPath,nativePath,version): l["filePathOS"] = p(libraryPath,l["filePath"].replace("/",os.path.sep)) libraries.append(l) - if os.path.isfile(p(versionPath,version + ".jar")): - libraries.append({"type":"client","filePathOS":p(versionPath,version + ".jar")}) + libraries.append({"type":"client","filePathOS":p(versionPath,version + ".jar")}) if "arguments" in clientJson: if "game" in clientJson["arguments"]: