diff options
author | jani270 <69345714+jani270@users.noreply.github.com> | 2023-12-14 18:04:49 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-14 18:04:49 +0100 |
commit | 4f487f0fb54f7e239fa5298f55ed3011150c4677 (patch) | |
tree | b81087f9c5df8d797dbdbe36946454704afe5230 /src/main | |
parent | 9410cff2e3f932b1e66940304c83de8fe35d0178 (diff) | |
download | NotEnoughUpdates-4f487f0fb54f7e239fa5298f55ed3011150c4677.tar.gz NotEnoughUpdates-4f487f0fb54f7e239fa5298f55ed3011150c4677.tar.bz2 NotEnoughUpdates-4f487f0fb54f7e239fa5298f55ed3011150c4677.zip |
Update API URL to v2 (#966)
Diffstat (limited to 'src/main')
-rw-r--r-- | src/main/java/io/github/moulberry/notenoughupdates/util/ApiUtil.java | 2 |
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) { |