mirror of
https://github.com/amalthea-mc/ShopChest.git
synced 2024-11-22 10:22:29 +00:00
Fix update checker
This commit is contained in:
parent
036d7f3bd2
commit
2ac81b0b8f
@ -26,7 +26,7 @@ public class UpdateChecker {
|
|||||||
try {
|
try {
|
||||||
plugin.debug("Checking for updates...");
|
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();
|
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.setRequestProperty("User-Agent", "Mozilla/5.0 (Windows NT 10.0; WOW64; rv:47.0) Gecko/20100101 Firefox/47.0");
|
||||||
conn.connect();
|
conn.connect();
|
||||||
|
Loading…
Reference in New Issue
Block a user