diff --git a/common/src/main/kotlin/su/plo/slib/language/MapServerTranslator.kt b/common/src/main/kotlin/su/plo/slib/language/MapServerTranslator.kt index c824cd6..f22be75 100644 --- a/common/src/main/kotlin/su/plo/slib/language/MapServerTranslator.kt +++ b/common/src/main/kotlin/su/plo/slib/language/MapServerTranslator.kt @@ -25,7 +25,7 @@ class MapServerTranslator : ServerTranslator { @Synchronized override fun getLanguage(languageName: String): Map = - languages.getOrElse(languageName) { - languages[defaultLanguage] ?: throw IllegalStateException("Default language doesn't exist") + languages.getOrElse(languageName.lowercase()) { + languages[defaultLanguage.lowercase()] ?: throw IllegalStateException("Default language doesn't exist") } } diff --git a/versions/1.20.4-forge/gradle.properties b/versions/1.20.4-forge/gradle.properties index b741704..2477701 100644 --- a/versions/1.20.4-forge/gradle.properties +++ b/versions/1.20.4-forge/gradle.properties @@ -1 +1 @@ -essential.defaults.loom.forge=net.minecraftforge:forge:1.20.4-49.0.26 +essential.defaults.loom.forge=net.minecraftforge:forge:1.20.4-49.1.4 \ No newline at end of file