aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--azalea-chat/src/component.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/azalea-chat/src/component.rs b/azalea-chat/src/component.rs
index 817d00b3..1cb2bf30 100644
--- a/azalea-chat/src/component.rs
+++ b/azalea-chat/src/component.rs
@@ -437,6 +437,10 @@ impl FormattedText {
for item in with {
with_array.push(StringOrComponent::String(item.to_string()));
}
+ } else if let Some(with) = with_list.ints() {
+ for item in with {
+ with_array.push(StringOrComponent::String(item.to_string()));
+ }
} else if let Some(with) = with_list.compounds() {
for item in with {
// if it's a string component with no styling and no siblings,