Skip to content

Commit

Permalink
chore: bump idofront
Browse files Browse the repository at this point in the history
  • Loading branch information
Boy0000 committed Jan 15, 2024
1 parent c5650bd commit 052e4cb
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ abstract class MiniMessageTranslator : Translator {

override fun translate(component: TranslatableComponent, locale: Locale): Component? {
val mmString = getMiniMessageString(component.key(), locale) ?: return null
val resultingComponent = mmString.miniMsg(EmojyArgumentTag(component.args()).takeIf { component.args().isNotEmpty() } ?: IdofrontTextComponents.globalResolver)
val resultingComponent = mmString.miniMsg(EmojyArgumentTag(component.arguments()).takeIf { component.arguments().isNotEmpty() } ?: IdofrontTextComponents.globalResolver)
return when {
component.children().isEmpty() -> resultingComponent
else -> resultingComponent.children(component.children())
Expand Down
4 changes: 2 additions & 2 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
group=com.mineinabyss
version=0.7
idofrontVersion=0.20.14
version=0.8
idofrontVersion=0.21.2
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.4-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.5-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
2 changes: 0 additions & 2 deletions settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,6 @@ dependencyResolutionManagement {
versionCatalogs {
create("libs"){
from("com.mineinabyss:catalog:$idofrontVersion")
version("minecraft", "1.20.4-R0.1-SNAPSHOT")
version("userdev", "1.5.11")
}
create("emojyLibs").from(files("gradle/emojyLibs.toml"))
}
Expand Down

0 comments on commit 052e4cb

Please sign in to comment.