aboutsummaryrefslogtreecommitdiff
path: root/azalea-nbt/src/decode.rs
diff options
context:
space:
mode:
Diffstat (limited to 'azalea-nbt/src/decode.rs')
-rw-r--r--azalea-nbt/src/decode.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/azalea-nbt/src/decode.rs b/azalea-nbt/src/decode.rs
index 90bc25f9..fb1b78b6 100644
--- a/azalea-nbt/src/decode.rs
+++ b/azalea-nbt/src/decode.rs
@@ -76,7 +76,7 @@ impl Tag {
break;
}
let name = read_string(stream)?;
- let tag = Tag::read_known(stream, tag_id).map_err(|_| Error::InvalidTag)?;
+ let tag = Tag::read_known(stream, tag_id)?;
map.insert(name, tag);
}
Tag::Compound(map)