diff options
| author | mat <git@matdoes.dev> | 2023-12-05 11:04:36 -0600 |
|---|---|---|
| committer | mat <git@matdoes.dev> | 2023-12-05 11:04:36 -0600 |
| commit | 53d7c1aa9712193a7f18dff813a02b2ddf7a0566 (patch) | |
| tree | 449c963c311f743e4fb70d3f6cdaa6fb3687db10 | |
| parent | f295a46b08d8c408215020ad5e9dd035b4bc01ba (diff) | |
| download | azalea-drasl-53d7c1aa9712193a7f18dff813a02b2ddf7a0566.tar.xz | |
clippy
| -rwxr-xr-x | azalea-chat/src/component.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/azalea-chat/src/component.rs b/azalea-chat/src/component.rs index ded77d01..d62eeee4 100755 --- a/azalea-chat/src/component.rs +++ b/azalea-chat/src/component.rs @@ -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( |
