From de561914a52a580e0987f6ec3731345197e71a86 Mon Sep 17 00:00:00 2001 From: Ayfri Date: Thu, 19 Dec 2024 20:48:39 +0100 Subject: [PATCH] fix(generation): Update link of version data json file. --- generation/src/main/kotlin/generators/defaultDatapackVersion.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generation/src/main/kotlin/generators/defaultDatapackVersion.kt b/generation/src/main/kotlin/generators/defaultDatapackVersion.kt index 4deb979..1a41efc 100644 --- a/generation/src/main/kotlin/generators/defaultDatapackVersion.kt +++ b/generation/src/main/kotlin/generators/defaultDatapackVersion.kt @@ -26,7 +26,7 @@ val jsonParser = Json { } suspend fun downloadDefaultDatapackVersion() { - val url = "$MAIN_GITHUB_URL/master/version_data.json" + val url = "$MAIN_GITHUB_URL/master/versions_data.json" val versions = getFromCacheOrDownloadJson("version_data.json", url).jsonObject if (!versions.containsKey(minecraftVersion)) { File(cacheDir, "version_data.json").delete()