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")):