Skip to content

Commit e2a3cc8

Browse files
authored
Update TranslateResourcePack.kt
1 parent f3112d1 commit e2a3cc8

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

common/src/main/kotlin/com/rpmtw/rpmtw_platform_mod/translation/resourcepack/TranslateResourcePack.kt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import java.net.URL
1212
import java.nio.charset.StandardCharsets
1313

1414
object TranslateResourcePack {
15-
private const val FILE_NAME = "RPMTW-Translate-Resource-Pack-1.18.zip"
15+
private const val FILE_NAME = "RPMTW-1.18.zip"
1616
private val resourcePackFolder: File = RPMTWPlatformModPlugin.getGameFolder().resolve("resourcepacks")
1717
private val resourcePackFile = resourcePackFolder.resolve(FILE_NAME)
1818
private val cacheFile = Util.getFileLocation(FILE_NAME)
@@ -75,7 +75,7 @@ object TranslateResourcePack {
7575
return
7676
}
7777

78-
val downloadUrl = "https://github.com/RPMTW/Translate-Resource-Pack/releases/latest/download/$FILE_NAME"
78+
val downloadUrl = "https://github.com/RPMTW/ResourcePack-Mod-zh_tw/raw/Translated-1.18/$FILE_NAME"
7979

8080
FileUtils.copyURLToFile(URL(downloadUrl), cacheFile)
8181
if (!cacheFile.exists()) {
@@ -113,4 +113,4 @@ object TranslateResourcePack {
113113
fun getPackId(): String {
114114
return "file/$FILE_NAME"
115115
}
116-
}
116+
}

0 commit comments

Comments
 (0)