From e5212624af46716d78d9d179595d1492bb41e8db Mon Sep 17 00:00:00 2001 From: Admin Else <74665496+admin-else@users.noreply.github.com> Date: Wed, 1 Apr 2026 16:43:47 +0200 Subject: [PATCH] text components prints with tags --- text/text.go | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/text/text.go b/text/text.go index a8d2153..637df05 100644 --- a/text/text.go +++ b/text/text.go @@ -583,6 +583,12 @@ func (c *Component) writePretty(sb *strings.Builder) { // This is a simplified version of translation handling // In a real client, this would look up the translation key sb.WriteString(c.Translate) + sb.WriteRune('(') + for _, w := range c.With { + w.writePretty(sb) + sb.WriteByte(',') + } + sb.WriteRune(')') } for _, extra := range c.Extra {