aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjani270 <69345714+jani270@users.noreply.github.com>2023-12-14 18:04:49 +0100
committerGitHub <noreply@github.com>2023-12-14 18:04:49 +0100
commit4f487f0fb54f7e239fa5298f55ed3011150c4677 (patch)
treeb81087f9c5df8d797dbdbe36946454704afe5230
parent9410cff2e3f932b1e66940304c83de8fe35d0178 (diff)
downloadNotEnoughUpdates-4f487f0fb54f7e239fa5298f55ed3011150c4677.tar.gz
NotEnoughUpdates-4f487f0fb54f7e239fa5298f55ed3011150c4677.tar.bz2
NotEnoughUpdates-4f487f0fb54f7e239fa5298f55ed3011150c4677.zip
Update API URL to v2 (#966)
-rw-r--r--src/main/java/io/github/moulberry/notenoughupdates/util/ApiUtil.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/io/github/moulberry/notenoughupdates/util/ApiUtil.java b/src/main/java/io/github/moulberry/notenoughupdates/util/ApiUtil.java
index 5f436eb6..cf442a00 100644
--- a/src/main/java/io/github/moulberry/notenoughupdates/util/ApiUtil.java
+++ b/src/main/java/io/github/moulberry/notenoughupdates/util/ApiUtil.java
@@ -301,7 +301,7 @@ public class ApiUtil {
public Request newAnonymousHypixelApiRequest(String apiPath) {
return new Request()
- .url("https://api.hypixel.net/" + apiPath);
+ .url("https://api.hypixel.net/v2/" + apiPath);
}
public Request newMoulberryRequest(String path) {