fix for update download

added the new link
added link for download
This commit is contained in:
maggi373 committed 2020-12-29 21:20:58 +01:00
1 parent 76eac49f92
commit 2531ff47aa
2 files changed
+4 -4

No files matched your search

@@ -21,7 +21,7 @@ public class ThreadGetData extends Thread
@Override
public void run()
{
List<String> ret = MekanismUtils.getHTML("https://technic-solder.eu-central-1.linodeobjects.com/Mekanism.txt");
List<String> ret = MekanismUtils.getHTML("http://technic-solder.eu-central-1.linodeobjects.com/mekanism/Mekanism.txt");
Mekanism.latestVersionNumber = "null";
Mekanism.recentNews = "null";
@@ -30,7 +30,7 @@ public class ThreadGetData extends Thread
{
String[] text = s.split(":");
if(text.length == 3 && !text[0].contains("UTF-8") && !text[0].contains("HTML") && !text[0].contains("https"))
if(text.length == 3 && !text[0].contains("UTF-8") && !text[0].contains("HTML") && !text[0].contains("http"))
{
if(Version.get(text[0]) != null && Version.get(text[0]).equals(Version.get((String)FMLInjectionData.data()[4])))
{