From 5b695e1f8062b841c5d709e2d602efc9eb36f1c6 Mon Sep 17 00:00:00 2001 From: modmuss50 Date: Tue, 21 Jun 2022 19:30:32 +0100 Subject: [PATCH] Update to piston-meta --- build.gradle | 2 +- .../java/net/fabricmc/meta/utils/MinecraftLauncherMeta.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/build.gradle b/build.gradle index a8c6560..ae569a2 100644 --- a/build.gradle +++ b/build.gradle @@ -5,7 +5,7 @@ plugins { } group 'net.fabricmc' -version '1.5.1' +version '1.5.2' def ENV = System.getenv() version = version + (ENV.GITHUB_ACTIONS ? "" : "+local") diff --git a/src/main/java/net/fabricmc/meta/utils/MinecraftLauncherMeta.java b/src/main/java/net/fabricmc/meta/utils/MinecraftLauncherMeta.java index 93d9eb7..7d482b9 100644 --- a/src/main/java/net/fabricmc/meta/utils/MinecraftLauncherMeta.java +++ b/src/main/java/net/fabricmc/meta/utils/MinecraftLauncherMeta.java @@ -39,7 +39,7 @@ private MinecraftLauncherMeta(List versions) { } public static MinecraftLauncherMeta getMeta() throws IOException { - String url = "https://launchermeta.mojang.com/mc/game/version_manifest.json"; + String url = "https://piston-meta.mojang.com/mc/game/version_manifest.json"; String json = IOUtils.toString(new URL(url), StandardCharsets.UTF_8); return GSON.fromJson(json, MinecraftLauncherMeta.class); }