From ca50b53f940b95b28c635c53ef6992f10d257ae8 Mon Sep 17 00:00:00 2001 From: Alexander Brandes Date: Sun, 17 Sep 2023 20:14:30 +0200 Subject: [PATCH] Update api.spigotmc.org from 0.1 to 0.2 (#4167) --- .../main/java/com/plotsquared/bukkit/util/UpdateUtility.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Bukkit/src/main/java/com/plotsquared/bukkit/util/UpdateUtility.java b/Bukkit/src/main/java/com/plotsquared/bukkit/util/UpdateUtility.java index 5e1e4c985..923ba65ab 100644 --- a/Bukkit/src/main/java/com/plotsquared/bukkit/util/UpdateUtility.java +++ b/Bukkit/src/main/java/com/plotsquared/bukkit/util/UpdateUtility.java @@ -60,7 +60,7 @@ public class UpdateUtility implements Listener { task = Bukkit.getScheduler().runTaskTimerAsynchronously(this.javaPlugin, () -> { try { HttpsURLConnection connection = (HttpsURLConnection) new URL( - "https://api.spigotmc.org/simple/0.1/index.php?action=getResource&id=77506") + "https://api.spigotmc.org/simple/0.2/index.php?action=getResource&id=77506") .openConnection(); connection.setRequestMethod("GET"); JsonObject result = new JsonParser()