From 4f487f0fb54f7e239fa5298f55ed3011150c4677 Mon Sep 17 00:00:00 2001 From: jani270 <69345714+jani270@users.noreply.github.com> Date: Thu, 14 Dec 2023 18:04:49 +0100 Subject: Update API URL to v2 (#966) --- src/main/java/io/github/moulberry/notenoughupdates/util/ApiUtil.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- cgit