libreforge-updater

This commit is contained in:
Auxilor 2023-04-29 17:19:50 +01:00
parent f116763e63
commit bb33bddf0b
3 changed files with 6 additions and 5 deletions

View File

@ -40,7 +40,7 @@ allprojects {
} }
dependencies { dependencies {
compileOnly("com.willfp:eco:6.55.0") compileOnly("com.willfp:eco:6.56.0")
compileOnly("org.jetbrains:annotations:23.0.0") compileOnly("org.jetbrains:annotations:23.0.0")
compileOnly("org.jetbrains.kotlin:kotlin-stdlib:1.7.10") compileOnly("org.jetbrains.kotlin:kotlin-stdlib:1.7.10")
compileOnly("com.github.ben-manes.caffeine:caffeine:3.1.0") compileOnly("com.github.ben-manes.caffeine:caffeine:3.1.0")

View File

@ -4,6 +4,7 @@ import com.github.benmanes.caffeine.cache.Cache
import com.github.benmanes.caffeine.cache.Caffeine import com.github.benmanes.caffeine.cache.Caffeine
import com.willfp.eco.core.config.updating.ConfigUpdater import com.willfp.eco.core.config.updating.ConfigUpdater
import com.willfp.eco.core.integrations.placeholder.PlaceholderManager import com.willfp.eco.core.integrations.placeholder.PlaceholderManager
import com.willfp.eco.core.placeholder.context.placeholderContext
import com.willfp.eco.util.NumberUtils import com.willfp.eco.util.NumberUtils
import com.willfp.eco.util.StringUtils import com.willfp.eco.util.StringUtils
import com.willfp.ecoenchants.EcoEnchantsPlugin import com.willfp.ecoenchants.EcoEnchantsPlugin
@ -96,7 +97,7 @@ fun EcoEnchantLike.getFormattedDescription(level: Int): List<String> {
var i = 1 var i = 1
for (placeholder in placeholders) { for (placeholder in placeholders) {
val translated = PlaceholderManager.translatePlaceholders(placeholder, null) val translated = PlaceholderManager.translatePlaceholders(placeholder)
mockPlaceholderMap[i] = translated mockPlaceholderMap[i] = translated
val length = ChatColor.stripColor(translated)!!.length val length = ChatColor.stripColor(translated)!!.length

View File

@ -1,5 +1,5 @@
#libreforge-updater #libreforge-updater
#Tue Apr 25 16:06:32 BST 2023 #Sat Apr 29 17:19:50 BST 2023
kotlin.code.style=official kotlin.code.style=official
libreforge-version=4.6.0 libreforge-version=4.7.0
version=10.6.0 version=10.7.0