We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 53523c4 commit 40834f7Copy full SHA for 40834f7
bukkit/version/v1_17_1/src/main/kotlin/io/github/rothes/esu/bukkit/AnsiFlattener.kt
@@ -1,6 +1,5 @@
1
package io.github.rothes.esu.bukkit
2
3
-import io.github.rothes.esu.core.user.LogUser
4
import io.github.rothes.esu.core.util.ComponentUtils
5
import io.github.rothes.esu.lib.net.kyori.adventure.text.Component
6
import io.github.rothes.esu.lib.net.kyori.adventure.text.TranslatableComponent
@@ -32,7 +31,7 @@ object AnsiFlattener {
32
31
33
val translated = language.getOrDefault(translatable.key())
34
val matcher = PATTERN.matcher(translated)
35
- val args = translatable.args() // arguments() is not there on Paper 1.20.1
+ val args = translatable.arguments()
36
var argId = 0
37
var right = 0
38
while (matcher.find()) {
0 commit comments