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
1616// $$
1717// $$ private fun formatString(style: Style): String = buildString {
1818// $$ 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")
2424// $$ }
2525// #endif
2626
@@ -36,7 +36,7 @@ fun IChatComponent.toFormattedString(): String {
3636 // #if MC>=11600
3737 // $$ return buildString {
3838 // $$ append(formatString(style))
39- // $$ this@toFormattedString.visit <String> {
39+ // $$ this@toFormattedString.func_230533_b_ <String> {
4040 // $$ append(it)
4141 // $$ Optional.empty()
4242 // $$ }
You can’t perform that action at this time.
0 commit comments