mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-22 21:09:45 +00:00
fix update notification
This commit is contained in:
1 parent
7120d4beb7
commit
5785c08035
1 file changed
+2
-2
@@ -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/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])))
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user