Fix update checker

This commit is contained in:
Eric 2018-07-23 19:50:27 +02:00
parent 036d7f3bd2
commit 2ac81b0b8f

View File

@ -26,7 +26,7 @@ public class UpdateChecker {
try {
plugin.debug("Checking for updates...");
URL url = new URL("http://textuploader.com/all1l/raw");
URL url = new URL("https://textuploader.com/all1l/raw");
URLConnection conn = url.openConnection();
conn.setRequestProperty("User-Agent", "Mozilla/5.0 (Windows NT 10.0; WOW64; rv:47.0) Gecko/20100101 Firefox/47.0");
conn.connect();