mirror of
https://github.com/HMCL-dev/HMCL.git
synced 2025-09-15 23:06:07 -04: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() {
|
public URL getUrl() {
|
||||||
return url == null ? NetworkUtils.toURL("https://www.curseforge.com/minecraft/mc-mods/" + projectID + "/download/" + fileID + "/file")
|
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) {
|
public CurseManifestFile withFileName(String fileName) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user