Fix #641
This commit is contained in:
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user