Compare commits
No commits in common. "7c44209d0767a99dbc946e892674239c9188ca80" and "e1be8aeed9d35bc7c835e935715c55db4badd811" have entirely different histories.
7c44209d07
...
e1be8aeed9
|
@ -5,12 +5,12 @@ plugins {
|
|||
allprojects { group = "io.gitlab.jfronny" }
|
||||
base.archivesName = "google-chat"
|
||||
|
||||
val fabricVersion = "0.96.11+1.20.4"
|
||||
val fabricVersion = "0.91.1+1.20.4"
|
||||
jfMod {
|
||||
minecraftVersion = "1.20.4"
|
||||
yarn("build.3")
|
||||
loaderVersion = "0.15.9"
|
||||
libJfVersion = "3.14.3"
|
||||
yarn("build.1")
|
||||
loaderVersion = "0.15.0"
|
||||
libJfVersion = "3.14.1"
|
||||
|
||||
modrinth {
|
||||
projectId = "google-chat"
|
||||
|
|
|
@ -2,8 +2,6 @@ package io.gitlab.jfronny.googlechat;
|
|||
|
||||
import io.gitlab.jfronny.commons.io.cache.FixedSizeMap;
|
||||
import io.gitlab.jfronny.commons.logging.Logger;
|
||||
import io.gitlab.jfronny.commons.throwable.Coerce;
|
||||
import io.gitlab.jfronny.commons.throwable.Try;
|
||||
import io.gitlab.jfronny.libjf.translate.api.Language;
|
||||
import io.gitlab.jfronny.libjf.translate.api.TranslateService;
|
||||
import net.fabricmc.api.EnvType;
|
||||
|
@ -32,7 +30,7 @@ public class GoogleChat implements ModInitializer {
|
|||
|
||||
@Override
|
||||
public void onInitialize() {
|
||||
ForkJoinPool.commonPool().execute(Try.handle(Coerce.runnable(() -> TRANSLATE_SERVICE = TranslateService.getConfigured()), e -> LOGGER.error("Could not initialize translation service", e)));
|
||||
ForkJoinPool.commonPool().execute(() -> TRANSLATE_SERVICE = TranslateService.getConfigured());
|
||||
}
|
||||
|
||||
public static void onConfigChange() {
|
||||
|
|
Loading…
Reference in New Issue
Block a user