From 758f24108b65ac8fd5ff2fefdaad6f4951ae98d7 Mon Sep 17 00:00:00 2001 From: libraryaddict Date: Tue, 13 Feb 2018 19:15:47 +1300 Subject: [PATCH] Fixed update checking using http instead of https --- src/me/libraryaddict/disguise/utilities/UpdateChecker.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/me/libraryaddict/disguise/utilities/UpdateChecker.java b/src/me/libraryaddict/disguise/utilities/UpdateChecker.java index 6c41bfb7..394fdc08 100644 --- a/src/me/libraryaddict/disguise/utilities/UpdateChecker.java +++ b/src/me/libraryaddict/disguise/utilities/UpdateChecker.java @@ -37,7 +37,7 @@ public class UpdateChecker { */ private String getSpigotVersion() { try { - HttpURLConnection con = (HttpURLConnection) new URL("http://www.spigotmc.org/api/general.php").openConnection(); + HttpURLConnection con = (HttpURLConnection) new URL("https://www.spigotmc.org/api/general.php").openConnection(); con.setDoOutput(true); con.setRequestMethod("POST"); con.getOutputStream().write(