diff --git a/common/src/main/kotlin/com/rpmtw/rpmtw_platform_mod/translation/resourcepack/TranslateResourcePack.kt b/common/src/main/kotlin/com/rpmtw/rpmtw_platform_mod/translation/resourcepack/TranslateResourcePack.kt index 7d9a18c1..f9e754ff 100644 --- a/common/src/main/kotlin/com/rpmtw/rpmtw_platform_mod/translation/resourcepack/TranslateResourcePack.kt +++ b/common/src/main/kotlin/com/rpmtw/rpmtw_platform_mod/translation/resourcepack/TranslateResourcePack.kt @@ -12,7 +12,7 @@ import java.net.URL import java.nio.charset.StandardCharsets object TranslateResourcePack { - private const val FILE_NAME = "RPMTW-Translate-Resource-Pack-1.18.zip" + private const val FILE_NAME = "RPMTW-1.18.zip" private val resourcePackFolder: File = RPMTWPlatformModPlugin.getGameFolder().resolve("resourcepacks") private val resourcePackFile = resourcePackFolder.resolve(FILE_NAME) private val cacheFile = Util.getFileLocation(FILE_NAME) @@ -75,7 +75,7 @@ object TranslateResourcePack { return } - val downloadUrl = "https://github.com/RPMTW/Translate-Resource-Pack/releases/latest/download/$FILE_NAME" + val downloadUrl = "https://github.com/RPMTW/ResourcePack-Mod-zh_tw/raw/Translated-1.18/$FILE_NAME" FileUtils.copyURLToFile(URL(downloadUrl), cacheFile) if (!cacheFile.exists()) { @@ -113,4 +113,4 @@ object TranslateResourcePack { fun getPackId(): String { return "file/$FILE_NAME" } -} \ No newline at end of file +}