fix for update

update notification now working
cant have letters in version number
removed a line in mk command
also changed download address
https actually works so changed back for that
This commit is contained in:
maggi373 committed 2020-12-29 22:20:02 +01:00
1 parent 862dc47f81
commit dcc53c46b9
8 files changed
+13 -14

No files matched your search

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