fix: cannot display all game versions in some cases of DownloadPage. Closes #1007.
This commit is contained in:
@@ -192,5 +192,13 @@ public final class ModManager {
|
||||
return getModsDirectory().resolve(fileName);
|
||||
}
|
||||
|
||||
public static String getMcmodUrl(String mcmodId) {
|
||||
return String.format("https://www.mcmod.cn/class/%s.html", mcmodId);
|
||||
}
|
||||
|
||||
public static String getMcbbsUrl(String mcbbsId) {
|
||||
return String.format("https://www.mcbbs.net/thread-%s-1-1.html", mcbbsId);
|
||||
}
|
||||
|
||||
public static final String DISABLED_EXTENSION = ".disabled";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user