From 8a340ff2b868f3f67e39f3d51ba53c95953ee9e8 Mon Sep 17 00:00:00 2001 From: Qther Date: Fri, 17 Apr 2020 17:00:38 +0800 Subject: [PATCH] I'm literally stupid --- src/main/java/me/zeroeightsix/kami/util/WebUtils.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/me/zeroeightsix/kami/util/WebUtils.java b/src/main/java/me/zeroeightsix/kami/util/WebUtils.java index e6b274d89..991f712cd 100644 --- a/src/main/java/me/zeroeightsix/kami/util/WebUtils.java +++ b/src/main/java/me/zeroeightsix/kami/util/WebUtils.java @@ -37,7 +37,7 @@ public class WebUtils { new Thread(() -> { try { // connect to https://api.github.com/repos/kami-blue/client/contributors - HttpsURLConnection connection = (HttpsURLConnection) new URL(KamiMod.CAPES_JSON).openConnection(); + HttpsURLConnection connection = (HttpsURLConnection) new URL("https://api.github.com/repos/kami-blue/client/contributors").openConnection(); connection.connect(); // then parse it