diff options
Diffstat (limited to 'azalea-chat/src')
| -rwxr-xr-x | azalea-chat/src/component.rs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/azalea-chat/src/component.rs b/azalea-chat/src/component.rs index 3855a715..d301aba1 100755 --- a/azalea-chat/src/component.rs +++ b/azalea-chat/src/component.rs @@ -397,9 +397,7 @@ impl simdnbt::FromNbtTag for FormattedText { trace!("keybind text components aren't yet supported"); return None; } else { - let Some(_nbt) = compound.get("nbt") else { - return None; - }; + let _nbt = compound.get("nbt")?; let _separator = FormattedText::parse_separator_nbt(compound)?; let _interpret = match compound.get("interpret") { |
