mirror of
https://github.com/mat-1/azalea.git
synced 2025-08-02 06:16:04 +00:00
fix 'extra' parsing in FormattedText::from_nbt_compound which results in duplicated chat fragments
This commit is contained in:
parent
a477a84c6e
commit
63fef9d94f
1 changed files with 1 additions and 3 deletions
|
@ -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()?;
|
||||
|
|
Loading…
Add table
Reference in a new issue