From dd687d451afea707df20bec079c01215544aaa06 Mon Sep 17 00:00:00 2001 From: Fierelier Date: Mon, 29 Mar 2021 10:51:08 +0200 Subject: [PATCH] Fix dumb libraries --- offline-minecraft-launcher.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/offline-minecraft-launcher.py b/offline-minecraft-launcher.py index 141a4ad..b22cc38 100644 --- a/offline-minecraft-launcher.py +++ b/offline-minecraft-launcher.py @@ -156,9 +156,9 @@ def processVersion(versionsPath,libraryPath,nativePath,version): if "url" in library: l["url"] = library["url"] while len(l["url"]) > 0 and l["url"][-1] == "/": l["url"] = l["url"][:-1] - fullUrl = fullUrl + "/" + l["filePath"] + l["url"] = l["url"] + "/" + l["filePath"] - l["filePathOS"] = p(libraryPath,l["path"].replace("/",os.path.sep)) + l["filePathOS"] = p(libraryPath,l["filePath"].replace("/",os.path.sep)) libraries.append(l) if os.path.isfile(p(versionPath,version + ".jar")):