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
2 changed files with 2 additions and 2 deletions

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(())
}