File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
src/main/kotlin/gg/essential/universal/utils Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -16,11 +16,11 @@ import net.minecraft.util.IChatComponent
16
16
// $$
17
17
// $$ private fun formatString(style: Style): String = buildString {
18
18
// $$ style.color?.let(colorToFormatChar::get)?.let(::append)
19
- // $$ if (style.isBold ) append("§l")
20
- // $$ if (style.isItalic ) append("§o")
21
- // $$ if (style.isUnderlined ) append("§n")
22
- // $$ if (style.isObfuscated ) append("§k")
23
- // $$ if (style.isStrikethrough ) append("§m")
19
+ // $$ if (style.bold ) append("§l")
20
+ // $$ if (style.italic ) append("§o")
21
+ // $$ if (style.underlined ) append("§n")
22
+ // $$ if (style.obfuscated ) append("§k")
23
+ // $$ if (style.strikethrough ) append("§m")
24
24
// $$ }
25
25
// #endif
26
26
@@ -36,7 +36,7 @@ fun IChatComponent.toFormattedString(): String {
36
36
// #if MC>=11600
37
37
// $$ return buildString {
38
38
// $$ append(formatString(style))
39
- // $$ this@toFormattedString.visit <String> {
39
+ // $$ this@toFormattedString.func_230533_b_ <String> {
40
40
// $$ append(it)
41
41
// $$ Optional.empty()
42
42
// $$ }
You can’t perform that action at this time.
0 commit comments