This commit is contained in:
huangyuhui 2016-02-18 14:32:27 +08:00
parent 84c6723adc
commit bef6a2d61b

View File

@ -76,7 +76,7 @@ public class MojangDownloadProvider extends IDownloadProvider {
public String getParsedLibraryDownloadURL(String str) {
if (str == null)
return null;
else if (str.contains("forge"))
else if (str.contains("typesafe") || str.contains("scala"))
if (SupportedLocales.NOW_LOCALE.self == Locale.CHINA)
return str.replace("http://files.minecraftforge.net/maven", "http://maven.oschina.net/content/groups/public");
else