mirror of
https://github.com/mat-1/azalea.git
synced 2025-08-02 14:26:04 +00:00
clippy
This commit is contained in:
parent
f295a46b08
commit
53d7c1aa97
1 changed files with 1 additions and 1 deletions
|
@ -395,7 +395,7 @@ impl simdnbt::FromNbtTag for FormattedText {
|
|||
simdnbt::borrow::NbtTag::List(list) => {
|
||||
let list = list.compounds()?;
|
||||
let mut component = FormattedText::from_nbt_tag(
|
||||
&simdnbt::borrow::NbtTag::Compound(list.get(0)?.clone()),
|
||||
&simdnbt::borrow::NbtTag::Compound(list.first()?.clone()),
|
||||
)?;
|
||||
for i in 1..list.len() {
|
||||
component.append(FormattedText::from_nbt_tag(
|
||||
|
|
Loading…
Add table
Reference in a new issue