Skip to content

Commit

Permalink
Update api.spigotmc.org from 0.1 to 0.2 (IntellectualSites#4167)
Browse files Browse the repository at this point in the history
  • Loading branch information
NotMyFault authored Sep 17, 2023
1 parent f705487 commit ca50b53
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public void updateChecker() {
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()
Expand Down

0 comments on commit ca50b53

Please sign in to comment.