mirror of
https://github.com/HMCL-dev/HMCL.git
synced 2025-03-07 17:36:52 +08:00
Fix #641
This commit is contained in:
parent
084b15e113
commit
acda1952ca
@ -84,7 +84,7 @@ public final class CurseManifestFile implements Validation {
|
||||
|
||||
public URL getUrl() {
|
||||
return url == null ? NetworkUtils.toURL("https://www.curseforge.com/minecraft/mc-mods/" + projectID + "/download/" + fileID + "/file")
|
||||
: NetworkUtils.toURL(url);
|
||||
: NetworkUtils.toURL(NetworkUtils.encodeLocation(url));
|
||||
}
|
||||
|
||||
public CurseManifestFile withFileName(String fileName) {
|
||||
|
Loading…
Reference in New Issue
Block a user