diff --git a/bootstrap/bukkit/build.gradle.kts b/bootstrap/bukkit/build.gradle.kts index a6a9b969..f0db373e 100644 --- a/bootstrap/bukkit/build.gradle.kts +++ b/bootstrap/bukkit/build.gradle.kts @@ -20,7 +20,7 @@ dependencies { compileOnly("com.github.SkriptLang:Skript:2.9.4") compileOnly("net.skinsrestorer:skinsrestorer-api:15.4.4") compileOnly("com.alessiodp.parties:parties-bukkit:3.2.16") - compileOnly("com.nexomc:nexo:0.1.0-dev.0") + compileOnly("com.nexomc:nexo:0.1.0-dev.24") compileOnly("team.unnamed:creative-api:1.7.3") } diff --git a/bootstrap/bukkit/src/main/kotlin/kr/toxicity/hud/bootstrap/bukkit/BukkitBootstrapImpl.kt b/bootstrap/bukkit/src/main/kotlin/kr/toxicity/hud/bootstrap/bukkit/BukkitBootstrapImpl.kt index cfc880c6..4857d922 100644 --- a/bootstrap/bukkit/src/main/kotlin/kr/toxicity/hud/bootstrap/bukkit/BukkitBootstrapImpl.kt +++ b/bootstrap/bukkit/src/main/kotlin/kr/toxicity/hud/bootstrap/bukkit/BukkitBootstrapImpl.kt @@ -227,7 +227,7 @@ class BukkitBootstrapImpl : BukkitBootstrap, JavaPlugin() { PlaceholderManagerImpl.stringContainer.addPlaceholder("papi", object : HudPlaceholder { override fun getRequiredArgsLength(): Int = 1 override fun invoke(args: List, reason: UpdateEvent): Function { - val format = "%${args[0]}%" + val format = "%${args.joinToString(",")}%" return Function { player -> runCatching { PlaceholderAPI.setPlaceholders(player.bukkitPlayer, format) diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index fe61206a..aca6b884 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -1,6 +1,6 @@ #Thu Feb 29 02:18:16 KST 2024 distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-8.11-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-8.11.1-bin.zip zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists