From 0806becf7cec5f4f22d4466daedf7bcff90467e8 Mon Sep 17 00:00:00 2001 From: Boy Date: Sat, 21 Oct 2023 13:05:11 +0200 Subject: [PATCH] 1.20.2 --- .../src/main/kotlin/com/mineinabyss/chatty/ChattyPlugin.kt | 6 +++--- gradle.properties | 4 ++-- gradle/chattyLibs.versions.toml | 2 +- gradle/wrapper/gradle-wrapper.properties | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/chatty-paper/src/main/kotlin/com/mineinabyss/chatty/ChattyPlugin.kt b/chatty-paper/src/main/kotlin/com/mineinabyss/chatty/ChattyPlugin.kt index 8b5c706..76bacfa 100644 --- a/chatty-paper/src/main/kotlin/com/mineinabyss/chatty/ChattyPlugin.kt +++ b/chatty-paper/src/main/kotlin/com/mineinabyss/chatty/ChattyPlugin.kt @@ -49,9 +49,9 @@ class ChattyPlugin : JavaPlugin() { DI.remove() val chattyContext = object : ChattyContext { override val plugin: ChattyPlugin = this@ChattyPlugin - override val config: ChattyConfig by config("config") { fromPluginPath(loadDefault = true) } - override val messages: ChattyMessages by config("messages") { fromPluginPath(loadDefault = true) } - override val emotefixer: DiscordEmoteFixer by config("emotefixer") { fromPluginPath(loadDefault = true) } + override val config: ChattyConfig by config("config", dataFolder.toPath(), ChattyConfig()) + override val messages: ChattyMessages by config("messages", dataFolder.toPath(), ChattyMessages()) + override val emotefixer: DiscordEmoteFixer by config("emotefixer", dataFolder.toPath(), DiscordEmoteFixer()) override val isPlaceholderApiLoaded: Boolean = Bukkit.getPluginManager().isPluginEnabled("PlaceholderAPI") override val isDiscordSRVLoaded: Boolean = Bukkit.getPluginManager().isPluginEnabled("DiscordSRV") } diff --git a/gradle.properties b/gradle.properties index 2a31387..87ef623 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,5 +1,5 @@ group=com.mineinabyss -version=0.6 -idofrontVersion=0.18.26 +version=0.7 +idofrontVersion=0.19.14 velocityVersion=3.2.0 coroutinesVersion=1.6.4 diff --git a/gradle/chattyLibs.versions.toml b/gradle/chattyLibs.versions.toml index b268db7..27a0437 100644 --- a/gradle/chattyLibs.versions.toml +++ b/gradle/chattyLibs.versions.toml @@ -1,5 +1,5 @@ [versions] -geary = "0.25-SNAPSHOT" +geary = "0.26.0" velocity = "3.2.0-SNAPSHOT" discordsrv = "1.26.2" diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index fae0804..e411586 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -1,5 +1,5 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-8.1.1-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-8.4-bin.zip zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists