aboutsummaryrefslogtreecommitdiff
path: root/mod/src/main
diff options
context:
space:
mode:
authorsyeyoung <cyoung06@naver.com>2022-12-15 13:40:03 +0900
committersyeyoung <cyoung06@naver.com>2022-12-15 13:40:03 +0900
commitbf56c97637e14df058ac52f270af530b85574be0 (patch)
tree94a58f6d5c78bde2c6252452ce9f953e47289c42 /mod/src/main
parent1e5e7b1071b7e6c75f9dd26b716d14c5065fe282 (diff)
downloadSkyblock-Dungeons-Guide-bf56c97637e14df058ac52f270af530b85574be0.tar.gz
Skyblock-Dungeons-Guide-bf56c97637e14df058ac52f270af530b85574be0.tar.bz2
Skyblock-Dungeons-Guide-bf56c97637e14df058ac52f270af530b85574be0.zip
- timeouts
Signed-off-by: syeyoung <cyoung06@naver.com>
Diffstat (limited to 'mod/src/main')
-rwxr-xr-xmod/src/main/java/kr/syeyoung/dungeonsguide/mod/utils/SkyblockUtils.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/src/main/java/kr/syeyoung/dungeonsguide/mod/utils/SkyblockUtils.java b/mod/src/main/java/kr/syeyoung/dungeonsguide/mod/utils/SkyblockUtils.java
index ef6050e3..2a10ba7e 100755
--- a/mod/src/main/java/kr/syeyoung/dungeonsguide/mod/utils/SkyblockUtils.java
+++ b/mod/src/main/java/kr/syeyoung/dungeonsguide/mod/utils/SkyblockUtils.java
@@ -31,7 +31,7 @@ public class SkyblockUtils {
URL url = new URL("https://hypixel-api.inventivetalent.org/api/skyblock/calendar");
HttpURLConnection connection = (HttpURLConnection) url.openConnection();
connection.setRequestMethod("GET");
- connection.setRequestProperty("User-Agent", "DungeonsGuide/1.0");
+ connection.setRequestProperty("User-Agent", "DungeonsGuide/4.0");
InputStreamReader inputStreamReader = new InputStreamReader(connection.getInputStream());
JsonObject object = (JsonObject) new JsonParser().parse(inputStreamReader);
if (!object.get("success").getAsBoolean()) {