diff options
| author | shedaniel <daniel@shedaniel.me> | 2022-12-10 21:38:49 +0800 |
|---|---|---|
| committer | shedaniel <daniel@shedaniel.me> | 2022-12-12 21:03:24 +0800 |
| commit | f0955f0f7afab5b7e1ba53372c66e3794769259f (patch) | |
| tree | 2b105faa972af143694c7ae330f01a695655649b /runtime | |
| parent | 679077c0b881196d8ed96b76d4ce290adfaa5c7b (diff) | |
| download | RoughlyEnoughItems-f0955f0f7afab5b7e1ba53372c66e3794769259f.tar.gz RoughlyEnoughItems-f0955f0f7afab5b7e1ba53372c66e3794769259f.tar.bz2 RoughlyEnoughItems-f0955f0f7afab5b7e1ba53372c66e3794769259f.zip | |
Fix URL
Diffstat (limited to 'runtime')
| -rw-r--r-- | runtime/src/main/java/me/shedaniel/rei/impl/client/search/method/unihan/UniHanManager.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/src/main/java/me/shedaniel/rei/impl/client/search/method/unihan/UniHanManager.java b/runtime/src/main/java/me/shedaniel/rei/impl/client/search/method/unihan/UniHanManager.java index f2f9a5b74..d48ef4319 100644 --- a/runtime/src/main/java/me/shedaniel/rei/impl/client/search/method/unihan/UniHanManager.java +++ b/runtime/src/main/java/me/shedaniel/rei/impl/client/search/method/unihan/UniHanManager.java @@ -53,7 +53,7 @@ public class UniHanManager { public void download(InputMethod.ProgressCallback progressCallback) { try { - download("https://www.shedaniel.moe/uoAqECzbQo5s.zip", progressCallback); + download("https://shedaniel.moe/qntrML0EraNB.zip", progressCallback); } catch (Exception e) { download("https://www.unicode.org/Public/UCD/latest/ucd/Unihan.zip", progressCallback); } @@ -62,7 +62,7 @@ public class UniHanManager { public void download(String URL, InputMethod.ProgressCallback progressCallback) { if (downloaded()) return; try { - URL url = new URL("https://shedaniel.moe/uoAqECzbQo5s.zip"); + URL url = new URL(URL); Files.deleteIfExists(unihanPath); Path parent = unihanPath.getParent(); if (parent != null) Files.createDirectories(parent); |
