File tree Expand file tree Collapse file tree
common/src/main/kotlin/com/rpmtw/rpmtw_platform_mod/translation/resourcepack Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ import java.net.URL
1212import java.nio.charset.StandardCharsets
1313
1414object 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+ }
You can’t perform that action at this time.
0 commit comments