diff --git a/azalea-chat/src/component.rs b/azalea-chat/src/component.rs index 86738b26f..4f772e36e 100755 --- a/azalea-chat/src/component.rs +++ b/azalea-chat/src/component.rs @@ -434,9 +434,7 @@ impl FormattedText { return None; } if let Some(extra) = compound.get("extra") { - for c in FormattedText::from_nbt_tag(extra)? { - component.append(c); - } + component.append(FormattedText::from_nbt_tag(extra)?); } let style = Style::from_compound(compound).ok()?;