aboutsummaryrefslogtreecommitdiff
path: root/mod
diff options
context:
space:
mode:
Diffstat (limited to 'mod')
-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()) {