Bump named-binary-tag to 0.6

This commit is contained in:
timvisee 2021-11-12 15:08:48 +01:00
parent 31041b8fe2
commit 4a4f2e2a1c
No known key found for this signature in database
GPG Key ID: B8DB720BC383E172
2 changed files with 2 additions and 2 deletions

View File

@ -16,4 +16,4 @@ byteorder = "1"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
uuid = { version = "0.7", features = ["v4", "serde"] }
named-binary-tag = "0.2"
named-binary-tag = "0.6"

View File

@ -78,7 +78,7 @@ impl<W: Write> EncoderWriteExt for W {
}
fn write_compound_tag(&mut self, value: &CompoundTag) -> Result<(), EncodeError> {
nbt::encode::write_compound_tag(self, value.clone())?;
nbt::encode::write_compound_tag(self, &value)?;
Ok(())
}