summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--build.gradle.kts2
-rw-r--r--platform-paper/src/main/kotlin/dev/m1sk9/lunaticChat/paper/LunaticChat.kt13
2 files changed, 8 insertions, 7 deletions
diff --git a/build.gradle.kts b/build.gradle.kts
index 8ab8880..aa66d31 100644
--- a/build.gradle.kts
+++ b/build.gradle.kts
@@ -12,7 +12,7 @@ plugins {
allprojects {
group = "dev.m1sk9"
- version = "0.2.0"
+ version = "0.3.0"
repositories {
mavenCentral()
diff --git a/platform-paper/src/main/kotlin/dev/m1sk9/lunaticChat/paper/LunaticChat.kt b/platform-paper/src/main/kotlin/dev/m1sk9/lunaticChat/paper/LunaticChat.kt
index 470f3b3..ebec4f0 100644
--- a/platform-paper/src/main/kotlin/dev/m1sk9/lunaticChat/paper/LunaticChat.kt
+++ b/platform-paper/src/main/kotlin/dev/m1sk9/lunaticChat/paper/LunaticChat.kt
@@ -62,12 +62,13 @@ class LunaticChat :
timeout = lunaticChatConfiguration.features.japaneseConversion.apiTimeout.milliseconds,
httpClient = httpClient,
)
- romajiConverter = RomanjiConverter(
- cache = cache,
- apiClient = apiClient,
- logger = logger,
- debugMode = lunaticChatConfiguration.debug
- )
+ romajiConverter =
+ RomanjiConverter(
+ cache = cache,
+ apiClient = apiClient,
+ logger = logger,
+ debugMode = lunaticChatConfiguration.debug,
+ )
val saveInterval = lunaticChatConfiguration.features.japaneseConversion.cacheSaveIntervalSeconds * 20L
server.scheduler.runTaskTimerAsynchronously(